Trait chomp_nl::ChompInPlace [] [src]

pub trait ChompInPlace {
    fn chomp(&mut self);
}

Trait for specifying how to remove (in-place) the trailing newline characters (\r, \n).

Required Methods

Remove the trailing newline characters from the string.

Implementors