cargo
1.89.0-nightly
(99e7c15e8 2025-06-01)
In cargo::
util
cargo
::
util
Function
truncate_with_ellipsis
Copy item path
Source
pub fn truncate_with_ellipsis(s: &
str
, max_width:
usize
) ->
String