/// Trait to implement chomp (removes newline from end of a [String], if there is one)
////// Inspired by Ruby's chomp. If it's edible, you can chomp it!
pubtraitEdible{fnchomp(&mutself);}/// Simple implementation for chomp on a [String]
implEdible forString{fnchomp(&mutself){ifletSome('\n')=self.chars().next_back(){self.pop();}}}