mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 12:22:34 +00:00
remove even more needless string conversions
This commit is contained in:
@@ -755,7 +755,7 @@ fn decodeBase256Segment(
|
||||
result.append_string(
|
||||
&encoding::all::ISO_8859_1
|
||||
.decode(&bytes, encoding::DecoderTrap::Strict)
|
||||
.map_err(|e| Exceptions::parse(e.to_string()))?,
|
||||
.map_err(|e| Exceptions::parse(e))?,
|
||||
);
|
||||
byteSegments.push(bytes);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user