Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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_home
Function · 0.80
lstrip
Method · 0.80
eval
Function · 0.80
type_ignores_from_source
Function · 0.80
lstrip
Method · 0.80
clean_doc
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected