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
fn chomp(&mut self)
Remove the trailing newline characters from the string.
Implementors
impl ChompInPlace for String