cargo
1.78.0
(9b00956e5 2024-04-29) (built from a source tarball)
In cargo::util
?
Function
cargo
::
util
::
truncate_with_ellipsis
source
·
[
−
]
pub fn truncate_with_ellipsis(s: &
str
, max_width:
usize
) ->
String