cargo
1.85.0
(4d91de4e4 2025-02-17) (built from a source tarball)
In cargo::
util
cargo
::
util
Function
truncate_with_ellipsis
Copy item path
Source
pub fn truncate_with_ellipsis(s: &
str
, max_width:
usize
) ->
String