cargo
1.83.0-beta.6
(4ff8ff0ec 2024-11-16)
In cargo::
util
cargo
::
util
Function
truncate_with_ellipsis
Copy item path
source
pub fn truncate_with_ellipsis(s: &
str
, max_width:
usize
) ->
String