MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / read_other

Method read_other

atomic-core/src/diff/token/tokenizer.rs:499–503  ·  view source on GitHub ↗

Read any other single character.

(&mut self)

Source from the content-addressed store, hash-verified

497
498 /// Read any other single character.
499 fn read_other(&mut self) -> Token<'a> {
500 let start = self.position;
501 self.advance();
502 Token::new(&self.content[start..self.position], TokenKind::Other, start)
503 }
504}
505
506impl<'a> Iterator for Tokenizer<'a> {

Callers 1

nextMethod · 0.80

Calls 1

advanceMethod · 0.45

Tested by

no test coverage detected