Crate chomp_nl

Crate chomp_nl 

Source
Expand description

chomp-nl provides traits and functions for removing newline characters at the end of strings.

Traits§

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

Functions§

chomp
Remove the newline characters at the end of the string.