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

Method changed

crates/literal/src/escape.rs:50–52  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

48 fn source_len(&self) -> usize;
49 fn layout(&self) -> &EscapeLayout;
50 fn changed(&self) -> bool {
51 self.layout().len != Some(self.source_len())
52 }
53
54 /// Write the body of the string directly to the formatter.
55 ///

Callers 2

write_bodyMethod · 0.80
testFunction · 0.80

Implementers 1

escape.rscrates/literal/src/escape.rs

Calls 3

source_lenMethod · 0.80
SomeClass · 0.50
layoutMethod · 0.45

Tested by

no test coverage detected