clarify what term can be
This commit is contained in:
parent
a007d349a1
commit
c35e01e48e
@ -49,7 +49,9 @@ fn parse_item_mod(&mut self, attrs: &mut AttrVec) -> PResult<'a, ItemInfo> {
|
||||
}
|
||||
|
||||
/// 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(
|
||||
&mut self,
|
||||
term: &TokenKind,
|
||||
|
Loading…
Reference in New Issue
Block a user