mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 20:32:34 +00:00
cargo clippy --fix
This commit is contained in:
@@ -107,8 +107,7 @@ fn encode(
|
||||
) -> Result<BitMatrix, Exceptions> {
|
||||
if format != BarcodeFormat::AZTEC {
|
||||
return Err(Exceptions::IllegalArgumentException(Some(format!(
|
||||
"can only encode AZTEC, but got {:?}",
|
||||
format
|
||||
"can only encode AZTEC, but got {format:?}"
|
||||
))));
|
||||
}
|
||||
let aztec = if let Some(cset) = charset {
|
||||
|
||||
Reference in New Issue
Block a user