diff -r 13041ae61ac5 -r 387345a14b3f rust/hedgewars-server/src/handlers.rs --- a/rust/hedgewars-server/src/handlers.rs Fri Jul 05 21:48:01 2019 +0300 +++ b/rust/hedgewars-server/src/handlers.rs Fri Jul 05 23:40:03 2019 +0300 @@ -59,9 +59,9 @@ #[inline] fn convert(c: u8) -> u8 { if c > b'9' { - c.overflowing_sub(b'a').0.saturating_add(10) + c.wrapping_sub(b'a').saturating_add(10) } else { - c.overflowing_sub(b'0').0 + c.wrapping_sub(b'0') } }