(&mut self)
| 334 | impl<'a> Iterator for Tokens<'a> { |
| 335 | type Item = Token<'a>; |
| 336 | fn next(&mut self) -> Option<Self::Item> { |
| 337 | self.inner |
| 338 | .next() |
| 339 | // SAFETY: source pointer is encoded |
| 340 | .map(|s| unsafe { Token::from_encoded_unchecked(s) }) |
| 341 | } |
| 342 | } |
| 343 | impl<'t> Tokens<'t> { |
| 344 | pub(crate) fn new(inner: Split<'t, char>) -> Self { |