arithmetic If `max_digits.is_some()`, then we know we are parsing a `u8` or `u16` because `read_number` is only called with `Some(3)` or `Some(4)`. Both types fit well within a `u32` without risk of overflow. Thus, we can use plain arithmetic to avoid extra instructions from `checked_mul` and `checked_add`. |
||
|---|---|---|
| .. | ||
| display_buffer.rs | ||
| ip_addr.rs | ||
| mod.rs | ||
| parser.rs | ||
| socket_addr.rs | ||