truncate_text
ctb_
formats_
html
0.0.0
In ctb_
formats_
html::
text_
clipper
ctb_formats_html
::
text_clipper
Function
truncate_
text
Copy item path
Source
pub fn truncate_text(text: &
str
, max_len:
u64
) ->
String