diff options
Diffstat (limited to 'vendor/winnow/src/macros.rs')
-rw-r--r-- | vendor/winnow/src/macros.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vendor/winnow/src/macros.rs b/vendor/winnow/src/macros.rs index bec67c1a3..8a38ef25c 100644 --- a/vendor/winnow/src/macros.rs +++ b/vendor/winnow/src/macros.rs @@ -1,7 +1,7 @@ /// `match` for parsers /// /// When parsers have unique prefixes to test for, this offers better performance over -/// [`alt`][crate::branch::alt] though it might be at the cost of duplicating parts of your grammar +/// [`alt`][crate::combinator::alt] though it might be at the cost of duplicating parts of your grammar /// if you needed to [`peek`][crate::combinator::peek]. /// /// For tight control over the error in a catch-all case, use [`fail`][crate::combinator::fail]. @@ -10,10 +10,10 @@ /// /// ```rust /// use winnow::prelude::*; -/// use winnow::branch::dispatch; -/// # use winnow::bytes::any; +/// use winnow::combinator::dispatch; +/// # use winnow::token::any; /// # use winnow::combinator::peek; -/// # use winnow::sequence::preceded; +/// # use winnow::combinator::preceded; /// # use winnow::combinator::success; /// # use winnow::combinator::fail; /// |