From e8a5fb434d560b2a78a2b048bf11687bdd6adc80 Mon Sep 17 00:00:00 2001 From: phynalle Date: Wed, 9 Jun 2021 04:51:28 +0900 Subject: [PATCH] Fix typo --- crates/hir_expand/src/db.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/hir_expand/src/db.rs b/crates/hir_expand/src/db.rs index 3ebe194e405..18a05579f45 100644 --- a/crates/hir_expand/src/db.rs +++ b/crates/hir_expand/src/db.rs @@ -85,7 +85,7 @@ pub(crate) fn map_id_up(&self, id: tt::TokenId) -> (tt::TokenId, mbe::Origin) { pub trait AstDatabase: SourceDatabase { fn ast_id_map(&self, file_id: HirFileId) -> Arc; - /// 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;