MCPcopy 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

2548impl PyStrInterned {
2549 #[inline]
2550 pub fn to_exact(&'static self) -> PyRefExact<PyStr> {
2551 unsafe { PyRefExact::new_unchecked(self.to_owned()) }
2552 }
2553}
2554
2555impl core::fmt::Display for PyStrInterned {

Callers 1

_to_ownedMethod · 0.80

Calls 1

to_ownedMethod · 0.45

Tested by

no test coverage detected