(&self)
| 1069 | } |
| 1070 | |
| 1071 | pub fn trim_end(&self) -> &Self { |
| 1072 | let w = self.bytes.trim_end(); |
| 1073 | unsafe { Wtf8::from_bytes_unchecked(w) } |
| 1074 | } |
| 1075 | |
| 1076 | pub fn trim_start_matches(&self, f: impl Fn(CodePoint) -> bool) -> &Self { |
| 1077 | let mut iter = self.code_points(); |
no outgoing calls
no test coverage detected