mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-15 09:30:16 +00:00
fixed type parser -> parsers
This commit is contained in:
parent
bf96a59bbc
commit
c4172be7ce
1 changed files with 3 additions and 1 deletions
|
@ -825,6 +825,7 @@ where
|
|||
/// The new parser acts the same if its inner parser fails
|
||||
///
|
||||
/// # Examples
|
||||
/// ## Success Case
|
||||
/// ```
|
||||
/// # use roc_parse::state::{State};
|
||||
/// # use crate::roc_parse::parser::{Parser, Progress, allocated, word};
|
||||
|
@ -844,6 +845,7 @@ where
|
|||
/// assert_eq!(state.pos(), Position::new(5));
|
||||
/// ```
|
||||
///
|
||||
/// ## Error Case
|
||||
/// ```
|
||||
/// # use roc_parse::state::{State};
|
||||
/// # use crate::roc_parse::parser::{Parser, Progress, allocated, word};
|
||||
|
@ -876,7 +878,7 @@ where
|
|||
}
|
||||
}
|
||||
|
||||
/// Creates a parser from two other parser.
|
||||
/// Creates a parser from two other parsers.
|
||||
/// However, the second parser is created based on the results of the first parser
|
||||
///
|
||||
/// # Examples
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue