Fix typo: of both succeed -> if both succeed

This commit is contained in:
Jade 2021-06-02 19:33:06 -07:00 committed by Geoffroy Couprie
parent 611a8be872
commit 83eb2187e1

View File

@ -88,7 +88,7 @@ macro_rules! tuple_parser (
); );
/// `pair!(I -> IResult<I,O>, I -> IResult<I,P>) => I -> IResult<I, (O,P)>` /// `pair!(I -> IResult<I,O>, I -> IResult<I,P>) => I -> IResult<I, (O,P)>`
/// `pair` returns a tuple of the results of its two child parsers of both succeed. /// `pair` returns a tuple of the results of its two child parsers if both succeed.
/// ///
/// ``` /// ```
/// # #[macro_use] extern crate nom; /// # #[macro_use] extern crate nom;