clarify what term can be

This commit is contained in:
Orion Gonzalez 2024-08-27 20:05:53 +02:00
parent a007d349a1
commit c35e01e48e

View File

@ -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,