cargo clippy --fix

This commit is contained in:
Henry Schimke
2023-03-01 10:50:52 -06:00
parent 42efbb397d
commit f450c6e0f7
4 changed files with 6 additions and 10 deletions

View File

@@ -162,7 +162,7 @@ fn get_encoded_data(corrected_bits: &[bool]) -> Result<String> {
result.push_str(
&encdr
.decode(&decoded_bytes, encoding::DecoderTrap::Strict)
.map_err(|a| Exceptions::illegalStateWith(a))?,
.map_err(Exceptions::illegalStateWith)?,
);
decoded_bytes.clear();