mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-27 12:52:34 +00:00
Implement clippy suggestions
This commit is contained in:
@@ -70,10 +70,10 @@ impl Writer for MultiFormatWriter {
|
||||
BarcodeFormat::DATA_MATRIX => Box::<DataMatrixWriter>::default(),
|
||||
BarcodeFormat::AZTEC => Box::<AztecWriter>::default(),
|
||||
_ => {
|
||||
return Err(Exceptions::IllegalArgumentException(format!(
|
||||
return Err(Exceptions::IllegalArgumentException(Some(format!(
|
||||
"No encoder available for format {:?}",
|
||||
format
|
||||
)))
|
||||
))))
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user