docs: Fix cargo-doc errors
This commit is contained in:
@@ -164,7 +164,7 @@ impl<'t> Parser<'t> {
|
||||
|
||||
/// Parses a list of P separated by `sep` tokens, ending in an `end` token.
|
||||
/// ```ignore
|
||||
/// List<T> = (T `sep`)* T? `end` ;
|
||||
/// List<T> = (T sep)* T? end ;
|
||||
/// ```
|
||||
pub fn list<P: Parse<'t>>(
|
||||
&mut self,
|
||||
@@ -188,7 +188,7 @@ impl<'t> Parser<'t> {
|
||||
|
||||
/// Parses a list of one or more P at level `level`, separated by `sep` tokens
|
||||
/// ```ignore
|
||||
/// UnterminatedList<P> = P (`sep` P)*
|
||||
/// UnterminatedList<P> = P (sep P)*
|
||||
/// ```
|
||||
pub fn list_bare<P: Parse<'t>>(
|
||||
&mut self,
|
||||
|
||||
Reference in New Issue
Block a user