MCPcopy Create free account
hub / github.com/Rust-for-Linux/klint / peek

Method peek

src/attribute.rs:98–100  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

96 }
97
98 fn peek(&self) -> &TokenTree {
99 self.cursor.peek().unwrap_or(&self.eof)
100 }
101
102 fn next(&mut self) -> &TokenTree {
103 self.cursor.next().unwrap_or(&self.eof)

Callers 3

is_eofMethod · 0.80
parse_eq_delimitedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected