mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-27 04:42:35 +00:00
remove .to_owned() calls on &str in exceptions
This commit is contained in:
@@ -244,7 +244,7 @@ impl CharacterSetECI {
|
||||
28 => Ok(CharacterSetECI::Big5),
|
||||
29 => Ok(CharacterSetECI::GB18030),
|
||||
30 => Ok(CharacterSetECI::EUC_KR),
|
||||
_ => Err(Exceptions::notFound("Bad ECI Value".to_owned())),
|
||||
_ => Err(Exceptions::notFound("Bad ECI Value")),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user