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

Method trim_start

crates/wtf8/src/lib.rs:1066–1069  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

1064 }
1065
1066 pub fn trim_start(&self) -> &Self {
1067 let w = self.bytes.trim_start();
1068 unsafe { Wtf8::from_bytes_unchecked(w) }
1069 }
1070
1071 pub fn trim_end(&self) -> &Self {
1072 let w = self.bytes.trim_end();

Callers 6

read_homeFunction · 0.80
lstripMethod · 0.80
evalFunction · 0.80
type_ignores_from_sourceFunction · 0.80
lstripMethod · 0.80
clean_docFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected