@@ -677,7 +677,7 @@ impl<'i: 't, 't> Parser<'i, 't> {
677
677
}
678
678
679
679
/// 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.
681
681
///
682
682
/// This can help tell e.g. `color: green;` from `color: green 4px;`
683
683
#[ inline]
@@ -767,7 +767,7 @@ impl<'i: 't, 't> Parser<'i, 't> {
767
767
/// The given closure is called with a "delimited" parser
768
768
/// that stops at the end of the block or function (at the matching closing token).
769
769
///
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.
771
771
#[ inline]
772
772
pub fn parse_nested_block < F , T , E > ( & mut self , parse : F ) -> Result < T , ParseError < ' i , E > >
773
773
where
@@ -783,7 +783,7 @@ impl<'i: 't, 't> Parser<'i, 't> {
783
783
/// that stops before the first character at this block/function nesting level
784
784
/// that matches the given set of delimiters, or at the end of the input.
785
785
///
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.
787
787
#[ inline]
788
788
pub fn parse_until_before < F , T , E > (
789
789
& mut self ,
0 commit comments