(b: u8)
| 216 | /// Check if a byte is an operator character. |
| 217 | #[inline] |
| 218 | fn is_operator(b: u8) -> bool { |
| 219 | matches!( |
| 220 | b, |
| 221 | b'+' | b'-' |
| 222 | | b'*' |
| 223 | | b'/' |
| 224 | | b'%' |
| 225 | | b'=' |
| 226 | | b'!' |
| 227 | | b'<' |
| 228 | | b'>' |
| 229 | | b'&' |
| 230 | | b'|' |
| 231 | | b'^' |
| 232 | | b'~' |
| 233 | | b'?' |
| 234 | | b':' |
| 235 | ) |
| 236 | } |
| 237 | |
| 238 | /// Check if a byte is punctuation. |
| 239 | #[inline] |
nothing calls this directly
no outgoing calls
no test coverage detected