Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ hash
Method
hash
crates/vm/src/intern.rs:98–100 ·
view source on GitHub ↗
(&self, state: &mut H)
Source
from the content-addressed store, hash-verified
96
97
impl core::hash::Hash for CachedPyStrRef {
98
fn hash<H: core::hash::Hasher>(&self, state: &mut H) {
99
self.inner.as_wtf8().hash(state)
100
}
101
}
102
103
impl PartialEq for CachedPyStrRef {
Callers
nothing calls this directly
Calls
2
as_wtf8
Method · 0.45
get_id
Method · 0.45
Tested by
no test coverage detected