fixed type parser -> parsers

This commit is contained in:
Trevor Settles 2024-03-14 11:35:59 -06:00
parent bf96a59bbc
commit c4172be7ce
No known key found for this signature in database
GPG key ID: F46B83058222DBAA

View file

@ -825,6 +825,7 @@ where
/// The new parser acts the same if its inner parser fails /// The new parser acts the same if its inner parser fails
/// ///
/// # Examples /// # Examples
/// ## Success Case
/// ``` /// ```
/// # use roc_parse::state::{State}; /// # use roc_parse::state::{State};
/// # use crate::roc_parse::parser::{Parser, Progress, allocated, word}; /// # use crate::roc_parse::parser::{Parser, Progress, allocated, word};
@ -844,6 +845,7 @@ where
/// assert_eq!(state.pos(), Position::new(5)); /// assert_eq!(state.pos(), Position::new(5));
/// ``` /// ```
/// ///
/// ## Error Case
/// ``` /// ```
/// # use roc_parse::state::{State}; /// # use roc_parse::state::{State};
/// # use crate::roc_parse::parser::{Parser, Progress, allocated, word}; /// # 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 /// However, the second parser is created based on the results of the first parser
/// ///
/// # Examples /// # Examples