@@ -677,7 +677,7 @@ impl<'i: 't, 't> Parser<'i, 't> {
677677 }
678678
679679 /// Have the given closure parse something, then check the the input is exhausted.
680- /// The result is overridden to `Err(() )` if some input remains.
680+ /// The result is overridden to an `Err(.. )` if some input remains.
681681 ///
682682 /// This can help tell e.g. `color: green;` from `color: green 4px;`
683683 #[ inline]
@@ -767,7 +767,7 @@ impl<'i: 't, 't> Parser<'i, 't> {
767767 /// The given closure is called with a "delimited" parser
768768 /// that stops at the end of the block or function (at the matching closing token).
769769 ///
770- /// The result is overridden to `Err(() )` if the closure leaves some input before that point.
770+ /// The result is overridden to an `Err(.. )` if the closure leaves some input before that point.
771771 #[ inline]
772772 pub fn parse_nested_block < F , T , E > ( & mut self , parse : F ) -> Result < T , ParseError < ' i , E > >
773773 where
@@ -783,7 +783,7 @@ impl<'i: 't, 't> Parser<'i, 't> {
783783 /// that stops before the first character at this block/function nesting level
784784 /// that matches the given set of delimiters, or at the end of the input.
785785 ///
786- /// The result is overridden to `Err(() )` if the closure leaves some input before that point.
786+ /// The result is overridden to an `Err(.. )` if the closure leaves some input before that point.
787787 #[ inline]
788788 pub fn parse_until_before < F , T , E > (
789789 & mut self ,
0 commit comments