cargo fmt

This commit is contained in:
Henry Schimke
2022-11-05 16:38:51 -05:00
parent 5d906edbde
commit 5e1f4c7011
7 changed files with 42 additions and 24 deletions

View File

@@ -26,7 +26,12 @@ pub struct C40Encoder;
impl Encoder for C40Encoder {
fn encode(&self, context: &mut super::EncoderContext) -> Result<(), Exceptions> {
self.encode_with_encode_char_fn(context, &Self::encodeChar_c40, &Self::handleEOD_c40, &||{self.getEncodingMode()})
self.encode_with_encode_char_fn(
context,
&Self::encodeChar_c40,
&Self::handleEOD_c40,
&|| self.getEncodingMode(),
)
}
fn getEncodingMode(&self) -> usize {