mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 12:22:34 +00:00
cargo clippy --fix
This commit is contained in:
@@ -221,8 +221,7 @@ fn createECCBlock(codewords: &str, numECWords: usize) -> Result<String, Exceptio
|
||||
}
|
||||
if table < 0 {
|
||||
return Err(Exceptions::IllegalArgumentException(Some(format!(
|
||||
"Illegal number of error correction codewords specified: {}",
|
||||
numECWords
|
||||
"Illegal number of error correction codewords specified: {numECWords}"
|
||||
))));
|
||||
}
|
||||
let poly = &FACTORS[table as usize];
|
||||
|
||||
Reference in New Issue
Block a user