Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/rustix
/ to_string_lossy
Method
to_string_lossy
src/path/arg.rs:116–118 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
114
#[cfg(feature =
"alloc"
)]
115
#[inline]
116
fn to_string_lossy(&self) -> Cow<'_, str> {
117
Cow::Borrowed(self)
118
}
119
120
#[cfg(feature =
"alloc"
)]
121
#[inline]
Callers
1
test_dir_seek
Function · 0.80
Calls
1
as_str
Method · 0.45
Tested by
1
test_dir_seek
Function · 0.64