cargo
1.85.0-nightly
(a47555110 2024-11-22)
In cargo::
util
cargo
::
util
Function
truncate_with_ellipsis
Copy item path
Source
pub fn truncate_with_ellipsis(s: &
str
, max_width:
usize
) ->
String