/// Adds given string to the end of the string, or does nothing if the string length reached
/// the limit.
Adds given string to the end of the string, or does nothing if the string length reached
the limit.
Adds given string to the end of the string or does nothing if the string length reached the limit .
pub fn push_str(&mut self, s: &str) {
        if let Some(limit) = self.max_length {
            let remaining_length = limit - self.length();
            self.content
                .push_str(&utils::take_graphemes(s, remaining_length));
        } else {
            self.content.push_str(s);
        }
    }
pub fn push_str ( & mut self , s : & str ) { if let Some ( limit ) = self . max_length { let remaining_length = limit - self . length ( ) ; self . content . push_str ( & utils :: take_graphemes ( s , remaining_length ) ) ; } else { self . content . push_str ( s ) ; } }
Adds given string to the end of the string, or does nothing if the string length reached
the limit.
Adds given string to the end of the string or does nothing if the string length reached the limit .
&mut self
s
&str