cargo
1.87.0-nightly
(920d95eaf 2025-03-28)
In cargo::
util
cargo
::
util
Function
truncate_with_ellipsis
Copy item path
Source
pub fn truncate_with_ellipsis(s: &
str
, max_width:
usize
) ->
String