mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 20:32:34 +00:00
cargo fmt
This commit is contained in:
@@ -266,7 +266,7 @@ impl BitMatrix {
|
||||
pub fn set_bool(&mut self, x: u32, y: u32, value: bool) {
|
||||
if value {
|
||||
self.set(x, y)
|
||||
}else {
|
||||
} else {
|
||||
self.unset(x, y)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -106,7 +106,7 @@ impl ECIStringBuilder {
|
||||
pub fn appendECI(&mut self, value: u32) -> Result<(), Exceptions> {
|
||||
self.encodeCurrentBytesIfAny();
|
||||
let character_set_eci = CharacterSetECI::getCharacterSetECIByValue(value)?;
|
||||
|
||||
|
||||
self.current_charset = CharacterSetECI::getCharset(&character_set_eci);
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user