(bytes: &[u8])
| 965 | impl<'c, 't> fmt::Debug for CapturesDebug<'c, 't> { |
| 966 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { |
| 967 | fn escape_bytes(bytes: &[u8]) -> String { |
| 968 | let mut s = String::new(); |
| 969 | for &b in bytes { |
| 970 | s.push_str(&escape_byte(b)); |
| 971 | } |
| 972 | s |
| 973 | } |
| 974 | |
| 975 | fn escape_byte(byte: u8) -> String { |
| 976 | use std::ascii::escape_default; |
nothing calls this directly
no test coverage detected