mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 04:12:34 +00:00
Update macro and cargo fmt
This commit is contained in:
@@ -153,9 +153,8 @@ pub fn detect_multiple_in_file_with_hints(
|
||||
file_name: &str,
|
||||
hints: &mut DecodingHintDictionary,
|
||||
) -> Result<Vec<RXingResult>> {
|
||||
let img = image::open(file_name).map_err(|e| {
|
||||
Exceptions::runtime_with(format!("couldn't read {file_name}: {e}"))
|
||||
})?;
|
||||
let img = image::open(file_name)
|
||||
.map_err(|e| Exceptions::runtime_with(format!("couldn't read {file_name}: {e}")))?;
|
||||
let multi_format_reader = MultiFormatReader::default();
|
||||
let mut scanner = GenericMultipleBarcodeReader::new(multi_format_reader);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user