diff options
author | phynalle <[email protected]> | 2021-06-08 20:51:28 +0100 |
---|---|---|
committer | phynalle <[email protected]> | 2021-06-08 20:51:28 +0100 |
commit | e8a5fb434d560b2a78a2b048bf11687bdd6adc80 (patch) | |
tree | a300ed10dae510417cc77341f6fd14dc763c558c /crates/hir_expand/src | |
parent | 590472607c9629fdd37e3f6f33dacfdc2a3f56cc (diff) |
Fix typo
Diffstat (limited to 'crates/hir_expand/src')
-rw-r--r-- | crates/hir_expand/src/db.rs | 2 |
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 { | |||
85 | pub trait AstDatabase: SourceDatabase { | 85 | pub 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>; |