cargo clippy --fix

This commit is contained in:
Henry Schimke
2023-01-27 15:24:24 -06:00
parent 58e6827e89
commit 42d40de755
86 changed files with 196 additions and 335 deletions

View File

@@ -640,8 +640,7 @@ fn encodeMinimally(input: Rc<Input>) -> Result<RXingResult, Exceptions> {
if minimalJ < 0 {
return Err(Exceptions::IllegalStateException(Some(format!(
"Internal error: failed to encode \"{}\"",
input
"Internal error: failed to encode \"{input}\""
))));
}
RXingResult::new(edges[inputLength][minimalJ as usize].clone())