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