Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ peek
Method
peek
crates/sre_engine/src/string.rs:58–60 ·
view source on GitHub ↗
(cursor: &StringCursor)
Source
from the content-addressed store, hash-verified
56
57
#[inline]
58
fn peek(cursor: &StringCursor) -> u32 {
59
unsafe { *cursor.ptr as u32 }
60
}
61
62
#[inline]
63
fn skip(cursor: &mut StringCursor, n: usize) {
Callers
1
split_fstring_middle
Function · 0.45
Calls
1
next_code_point
Function · 0.70
Tested by
no test coverage detected