☰
cargo
1.75.0-dev
In cargo::util
?
Function
cargo
::
util
::
truncate_with_ellipsis
source
·
[
−
]
pub fn truncate_with_ellipsis(s: &
str
, max_width:
usize
) ->
String