pub trait ChompInPlace { // Required method fn chomp(&mut self); }
Trait for specifying how to remove (in-place) the trailing newline characters (\r, \n).
Remove the trailing newline characters from the string.