diff --git a/src/punctuated.rs b/src/punctuated.rs index 8e676abd58..299548c68c 100644 --- a/src/punctuated.rs +++ b/src/punctuated.rs @@ -164,8 +164,7 @@ impl Punctuated { pub fn push_value(&mut self, value: T) { assert!( self.empty_or_trailing(), - "Punctuated::push_value: Punctuated is not empty or \ - does not have a trailing punctuation", + "Punctuated::push_value: Punctuated is not empty or does not have a trailing punctuation", ); self.last = Some(Box::new(value)); @@ -467,8 +466,7 @@ impl Extend> for Punctuated { fn extend>>(&mut self, i: I) { assert!( self.empty_or_trailing(), - "Punctuated::extend: Punctuated is not empty or \ - does not have a trailing punctuation", + "Punctuated::extend: Punctuated is not empty or does not have a trailing punctuation", ); let mut nomore = false;