mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-28 05:12:34 +00:00
cargo fmt
This commit is contained in:
@@ -90,7 +90,7 @@ impl<T: Reader> GenericMultipleBarcodeReader<T> {
|
||||
if let Err(Exceptions::ReaderException(_)) = result {
|
||||
return Ok(());
|
||||
} else if result.is_err() {
|
||||
return Err(result.err().unwrap())
|
||||
return Err(result.err().unwrap());
|
||||
}
|
||||
|
||||
let result = result.expect("must exist");
|
||||
|
||||
@@ -16,7 +16,10 @@
|
||||
|
||||
use std::{path::PathBuf, rc::Rc};
|
||||
|
||||
use crate::{BufferedImageLuminanceSource, BinaryBitmap, common::HybridBinarizer, MultiFormatReader, BarcodeFormat};
|
||||
use crate::{
|
||||
common::HybridBinarizer, BarcodeFormat, BinaryBitmap, BufferedImageLuminanceSource,
|
||||
MultiFormatReader,
|
||||
};
|
||||
|
||||
use super::{GenericMultipleBarcodeReader, MultipleBarcodeReader};
|
||||
|
||||
|
||||
@@ -80,7 +80,6 @@ impl Reader for MultiFormatReader {
|
||||
}
|
||||
|
||||
impl MultiFormatReader {
|
||||
|
||||
/**
|
||||
* Decode an image using the state set up by calling setHints() previously. Continuous scan
|
||||
* clients will get a <b>large</b> speed increase by using this instead of decode().
|
||||
|
||||
Reference in New Issue
Block a user