many warnings cleaned up

This commit is contained in:
Henry Schimke
2022-12-30 16:19:45 -06:00
parent 6a9ac8fa89
commit b383d7b0d4
48 changed files with 107 additions and 127 deletions

View File

@@ -49,7 +49,7 @@ impl Encoder for X12Encoder {
}
}
}
Self::handleEOD(context, &mut buffer);
Self::handleEOD(context, &mut buffer)?;
Ok(())
}
}
@@ -70,7 +70,7 @@ impl X12Encoder {
} else if c >= 'A' && c <= 'Z' {
sb.push((c as u8 - 65 + 14) as char);
} else {
high_level_encoder::illegalCharacter(c);
high_level_encoder::illegalCharacter(c).expect("detect_illegal_character");
}
}
}