aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src
diff options
context:
space:
mode:
authorEdwin Cheng <[email protected]>2020-03-22 14:01:48 +0000
committerGitHub <[email protected]>2020-03-22 14:01:48 +0000
commitaf8c37cb57fcde849ef333100b8057c427bfa9a9 (patch)
tree5e8fea16482086eac45268de28c454ecefb155c2 /crates/ra_hir/src
parent6d5443ef945c415f21ced1594003e8e6eed5e44a (diff)
Fix typo
Co-Authored-By: Veetaha <[email protected]>
Diffstat (limited to 'crates/ra_hir/src')
-rw-r--r--crates/ra_hir/src/semantics.rs2
1 files changed, 1 insertions, 1 deletions
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> {
142 } 142 }
143 143
144 /// Find a AstNode by offset inside SyntaxNode, if it is inside *Macrofile*, 144 /// Find a AstNode by offset inside SyntaxNode, if it is inside *Macrofile*,
145 /// search up until it is target AstNode type 145 /// search up until it is of the target AstNode type
146 pub fn find_node_at_offset_with_macros<N: AstNode>( 146 pub fn find_node_at_offset_with_macros<N: AstNode>(
147 &self, 147 &self,
148 node: &SyntaxNode, 148 node: &SyntaxNode,