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

Method source_len

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

Source from the content-addressed store, hash-verified

254
255unsafe impl Escape for UnicodeEscape<'_> {
256 fn source_len(&self) -> usize {
257 self.source.len()
258 }
259
260 fn layout(&self) -> &EscapeLayout {
261 &self.layout

Callers 1

changedMethod · 0.80

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected