Function mail_parser::parsers::preview::truncate_text

source ยท
pub fn truncate_text<'x>(text: Cow<'_, str>, max_len: usize) -> Cow<'x, str>