(str: &str)
| 42 | |
| 43 | #[inline(always)] |
| 44 | pub const fn is_url_ident(str: &str) -> bool { |
| 45 | let str = str.as_bytes(); |
| 46 | str.len() == 3 && matches!(str[0], b'u' | b'U') && matches!(str[1], b'r' | b'R') && matches!(str[2], b'l' | b'L') |
| 47 | } |
| 48 | |
| 49 | #[inline(always)] |
| 50 | pub fn is_non_printable(c: char) -> bool { |
no test coverage detected