cargo
1.82.0
(f6e511eec 2024-10-15)
In cargo::
util
Function
cargo
::
util
::
truncate_with_ellipsis
Copy item path
source
ยท
[
−
]
pub fn truncate_with_ellipsis(s: &
str
, max_width:
usize
) ->
String