(&self, w: impl AsRef<Wtf8>)
| 1159 | } |
| 1160 | |
| 1161 | pub fn starts_with(&self, w: impl AsRef<Wtf8>) -> bool { |
| 1162 | self.bytes.starts_with_str(w.as_ref()) |
| 1163 | } |
| 1164 | |
| 1165 | pub fn strip_prefix(&self, w: impl AsRef<Wtf8>) -> Option<&Self> { |
| 1166 | self.bytes |
no test coverage detected