mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 04:12:34 +00:00
cargo clippy --fix
This commit is contained in:
@@ -74,8 +74,7 @@ impl Encoder for ASCIIEncoder {
|
||||
|
||||
_ => {
|
||||
return Err(Exceptions::IllegalStateException(Some(format!(
|
||||
"Illegal mode: {}",
|
||||
newMode
|
||||
"Illegal mode: {newMode}"
|
||||
))));
|
||||
}
|
||||
}
|
||||
@@ -106,8 +105,7 @@ impl ASCIIEncoder {
|
||||
Ok((num + 130) as char)
|
||||
} else {
|
||||
Err(Exceptions::IllegalArgumentException(Some(format!(
|
||||
"not digits: {}{}",
|
||||
digit1, digit2
|
||||
"not digits: {digit1}{digit2}"
|
||||
))))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user