Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ clone
Method
clone
crates/vm/src/intern.rs:26–30 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
24
25
impl Clone for StringPool {
26
fn clone(&self) -> Self {
27
Self {
28
inner: PyRwLock::new(self.inner.read().clone()),
29
}
30
}
31
}
32
33
impl StringPool {
Callers
2
miss
Method · 0.45
to_owned
Method · 0.45
Calls
2
new
Function · 0.85
read
Method · 0.45
Tested by
no test coverage detected