mirror of
https://gitee.com/openharmony/third_party_rust_nom
synced 2024-11-27 09:40:54 +00:00
Fix typo: of both succeed -> if both succeed
This commit is contained in:
parent
611a8be872
commit
83eb2187e1
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user