Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ to_exact
Method
to_exact
crates/vm/src/builtins/str.rs:2550–2552 ·
view source on GitHub ↗
(&'static self)
Source
from the content-addressed store, hash-verified
2548
impl PyStrInterned {
2549
#[inline]
2550
pub fn to_exact(&'static self) -> PyRefExact<PyStr> {
2551
unsafe { PyRefExact::new_unchecked(self.to_owned()) }
2552
}
2553
}
2554
2555
impl core::fmt::Display for PyStrInterned {
Callers
1
_to_owned
Method · 0.80
Calls
1
to_owned
Method · 0.45
Tested by
no test coverage detected