clarify what term can be
This commit is contained in:
@@ -49,7 +49,9 @@ impl<'a> Parser<'a> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Parses the contents of a module (inner attributes followed by module items).
|
/// Parses the contents of a module (inner attributes followed by module items).
|
||||||
/// We exit once we hit `term`
|
/// We exit once we hit `term` which can be either
|
||||||
|
/// - EOF (for files)
|
||||||
|
/// - `}` for mod items
|
||||||
pub fn parse_mod(
|
pub fn parse_mod(
|
||||||
&mut self,
|
&mut self,
|
||||||
term: &TokenKind,
|
term: &TokenKind,
|
||||||
|
|||||||
Reference in New Issue
Block a user