aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphynalle <[email protected]>2021-06-08 20:51:28 +0100
committerphynalle <[email protected]>2021-06-08 20:51:28 +0100
commite8a5fb434d560b2a78a2b048bf11687bdd6adc80 (patch)
treea300ed10dae510417cc77341f6fd14dc763c558c
parent590472607c9629fdd37e3f6f33dacfdc2a3f56cc (diff)
Fix typo
-rw-r--r--crates/hir_expand/src/db.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir_expand/src/db.rs b/crates/hir_expand/src/db.rs
index 3ebe194e4..18a05579f 100644
--- a/crates/hir_expand/src/db.rs
+++ b/crates/hir_expand/src/db.rs
@@ -85,7 +85,7 @@ impl TokenExpander {
85pub trait AstDatabase: SourceDatabase { 85pub trait AstDatabase: SourceDatabase {
86 fn ast_id_map(&self, file_id: HirFileId) -> Arc<AstIdMap>; 86 fn ast_id_map(&self, file_id: HirFileId) -> Arc<AstIdMap>;
87 87
88 /// Main public API -- parsis a hir file, not caring whether it's a real 88 /// Main public API -- parses a hir file, not caring whether it's a real
89 /// file or a macro expansion. 89 /// file or a macro expansion.
90 #[salsa::transparent] 90 #[salsa::transparent]
91 fn parse_or_expand(&self, file_id: HirFileId) -> Option<SyntaxNode>; 91 fn parse_or_expand(&self, file_id: HirFileId) -> Option<SyntaxNode>;