aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_expand/src/db.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-06-08 21:47:10 +0100
committerGitHub <[email protected]>2021-06-08 21:47:10 +0100
commita60978d172c6985c071dd0d9f28caa5fa5364a3e (patch)
treeba4ea410bf602e92cbfc3bcf2d406310287ccdbe /crates/hir_expand/src/db.rs
parentf1a40f9093798efda0eb9b09a8dcb3d26410faf4 (diff)
parente8a5fb434d560b2a78a2b048bf11687bdd6adc80 (diff)
Merge #9183
9183: Fix typo r=lnicola a=phynalle Co-authored-by: phynalle <[email protected]>
Diffstat (limited to 'crates/hir_expand/src/db.rs')
-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>;