updated cargo fmt

This commit is contained in:
Henry Schimke
2023-10-28 11:04:14 -05:00
parent 4c9ec95d00
commit 5ea03cc066
24 changed files with 122 additions and 64 deletions

View File

@@ -116,7 +116,9 @@ pub fn detect_in_file_with_hints(
hints: &mut DecodingHintDictionary,
) -> Result<RXingResult> {
let Ok(img) = image::open(file_name) else {
return Err(Exceptions::illegal_argument_with(format!("file '{file_name}' not found or cannot be opened")));
return Err(Exceptions::illegal_argument_with(format!(
"file '{file_name}' not found or cannot be opened"
)));
};
let mut multi_format_reader = MultiFormatReader::default();