This commit is contained in:
phynalle 2021-06-09 04:51:28 +09:00
parent 590472607c
commit e8a5fb434d

View file

@ -85,7 +85,7 @@ impl TokenExpander {
pub trait AstDatabase: SourceDatabase {
fn ast_id_map(&self, file_id: HirFileId) -> Arc<AstIdMap>;
/// Main public API -- parsis a hir file, not caring whether it's a real
/// Main public API -- parses a hir file, not caring whether it's a real
/// file or a macro expansion.
#[salsa::transparent]
fn parse_or_expand(&self, file_id: HirFileId) -> Option<SyntaxNode>;