Skip to main content

cut_text

Function cut_text 

Source
pub fn cut_text(s: &str) -> String
Expand description

s cut to at most MAX_TEXT_BYTES bytes, on a character boundary.