Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ peek_char
Method
peek_char
crates/sre_engine/src/engine.rs:1075–1077 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
1073
}
1074
1075
fn peek_char<S: StrDrive>(&self) -> u32 {
1076
S::peek(&self.cursor)
1077
}
1078
1079
fn skip_char<S: StrDrive>(&mut self, skip: usize) {
1080
S::skip(&mut self.cursor, skip);
Callers
nothing calls this directly
Calls
1
peek
Function · 0.85
Tested by
no test coverage detected