MCPcopy Index your code
hub / github.com/RustPython/RustPython / eq

Method eq

crates/vm/src/intern.rs:104–106  ·  view source on GitHub ↗
(&self, other: &Self)

Source from the content-addressed store, hash-verified

102
103impl PartialEq for CachedPyStrRef {
104 fn eq(&self, other: &Self) -> bool {
105 self.inner.as_wtf8() == other.inner.as_wtf8()
106 }
107}
108
109impl Eq for CachedPyStrRef {}

Callers

nothing calls this directly

Calls 2

eqFunction · 0.50
as_wtf8Method · 0.45

Tested by

no test coverage detected