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

@@ -732,7 +732,7 @@ fn decodeBase256Segment(
result.append_string(
&encoding::all::ISO_8859_1
.decode(&bytes, encoding::DecoderTrap::Strict)
.map_err(|e| Exceptions::parseWith(e))?,
.map_err(Exceptions::parseWith)?,
);
byteSegments.push(bytes);