mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 04:12:34 +00:00
remove more needless String conversions
This commit is contained in:
@@ -31,9 +31,9 @@ impl TokenType {
|
||||
match self {
|
||||
TokenType::Simple(a) => a.appendTo(bit_array, text),
|
||||
TokenType::BinaryShift(a) => a.appendTo(bit_array, text),
|
||||
TokenType::Empty => Err(Exceptions::illegalState(String::from(
|
||||
TokenType::Empty => Err(Exceptions::illegalState(
|
||||
"cannot appendTo on Empty final item",
|
||||
))),
|
||||
)),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user