From dc3b9ddf9605ce885ec0238e1e3d7dd1bf9694d5 Mon Sep 17 00:00:00 2001 From: Arghyadip Chakraborty Date: Sun, 13 Oct 2024 03:11:13 +0530 Subject: [PATCH] fix: code_128 parsing typo --- src/barcode_format.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/barcode_format.rs b/src/barcode_format.rs index 50ec45b3..3df74fb5 100644 --- a/src/barcode_format.rs +++ b/src/barcode_format.rs @@ -141,7 +141,7 @@ impl From<&str> for BarcodeFormat { BarcodeFormat::CODE_39 } "code 93" | "code_93" | "code93" => BarcodeFormat::CODE_93, - "code 128" | "code_129" | "code128" | "iso/ied 15417:2007" | "iso/_15417:2007" => { + "code 128" | "code_128" | "code128" | "iso/ied 15417:2007" | "iso/_15417:2007" => { BarcodeFormat::CODE_128 } "datamatrix" | "data matrix" | "data_matrix" => BarcodeFormat::DATA_MATRIX,