Skip to main content
truncate
context_
harness
0.9.0
In context_
harness::
profile_
script
context_harness
::
profile_script
Function
truncate
Copy item path
Source
fn truncate(s: &
str
, max:
usize
) ->
String
Expand description
Truncate a string to fit in a column.