(byte: u8)
| 321 | } |
| 322 | |
| 323 | fn escape_byte(byte: u8) -> String { |
| 324 | use std::ascii::escape_default; |
| 325 | |
| 326 | let escaped: Vec<u8> = escape_default(byte).collect(); |
| 327 | String::from_utf8_lossy(&escaped).into_owned() |
| 328 | } |
no outgoing calls
no test coverage detected