From af8c37cb57fcde849ef333100b8057c427bfa9a9 Mon Sep 17 00:00:00 2001 From: Edwin Cheng Date: Sun, 22 Mar 2020 22:01:48 +0800 Subject: Fix typo Co-Authored-By: Veetaha --- crates/ra_hir/src/semantics.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates') diff --git a/crates/ra_hir/src/semantics.rs b/crates/ra_hir/src/semantics.rs index caece91c1..d982f6ffa 100644 --- a/crates/ra_hir/src/semantics.rs +++ b/crates/ra_hir/src/semantics.rs @@ -142,7 +142,7 @@ impl<'db, DB: HirDatabase> Semantics<'db, DB> { } /// Find a AstNode by offset inside SyntaxNode, if it is inside *Macrofile*, - /// search up until it is target AstNode type + /// search up until it is of the target AstNode type pub fn find_node_at_offset_with_macros( &self, node: &SyntaxNode, -- cgit v1.2.3