MCPcopy 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
25impl Clone for StringPool {
26 fn clone(&self) -> Self {
27 Self {
28 inner: PyRwLock::new(self.inner.read().clone()),
29 }
30 }
31}
32
33impl StringPool {

Callers 2

missMethod · 0.45
to_ownedMethod · 0.45

Calls 2

newFunction · 0.85
readMethod · 0.45

Tested by

no test coverage detected