Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ get_one_indexed
Method
get_one_indexed
crates/vm/src/stdlib/_ast.rs:125–127 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
123
}
124
125
const fn get_one_indexed(self) -> OneIndexed {
126
self.0
127
}
128
}
129
130
/// An UTF-8 index into the line.
Callers
1
to_source_location
Method · 0.80
Calls
1
get
Method · 0.45
Tested by
no test coverage detected