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

Method trim

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

Source from the content-addressed store, hash-verified

1059 }
1060
1061 pub fn trim(&self) -> &Self {
1062 let w = self.bytes.trim();
1063 unsafe { Wtf8::from_bytes_unchecked(w) }
1064 }
1065
1066 pub fn trim_start(&self) -> &Self {
1067 let w = self.bytes.trim_start();

Callers 15

parse_optsFunction · 0.80
read_homeFunction · 0.80
mainFunction · 0.80
cipher_descriptionFunction · 0.80
parse_cipher_stringFunction · 0.80
parse_pyvenv_homeFunction · 0.80
stripMethod · 0.80
try_intMethod · 0.80
parse_func_typeFunction · 0.80
stripMethod · 0.80
float_from_stringFunction · 0.80
fromhexMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected