// useful for writing string literals, to ensure that a gigantic string doesnt swamp the output
useful for writing string literals, to ensure that a gigantic string doesnt swamp the output
useful for writing string literals to ensure that a gigantic string doesnt swamp the output
pub fn trim_str(target: &impl AsRef<str>, maxlen: usize) -> impl Display + '_ {
    TrimStr {
        target: target.as_ref(),
        maxlen,
    }
}
pub fn trim_str ( target : & impl AsRef < str > , maxlen : usize ) -> impl Display + ' _ { TrimStr { target : target . as_ref ( ) , maxlen , } }
useful for writing string literals, to ensure that a gigantic string doesnt swamp the output
useful for writing string literals to ensure that a gigantic string doesnt swamp the output
target
&impl AsRef<str>
maxlen
usize