diff options
author | Edwin Cheng <[email protected]> | 2020-03-22 14:01:48 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-03-22 14:01:48 +0000 |
commit | af8c37cb57fcde849ef333100b8057c427bfa9a9 (patch) | |
tree | 5e8fea16482086eac45268de28c454ecefb155c2 /crates | |
parent | 6d5443ef945c415f21ced1594003e8e6eed5e44a (diff) |
Fix typo
Co-Authored-By: Veetaha <[email protected]>
Diffstat (limited to 'crates')
-rw-r--r-- | crates/ra_hir/src/semantics.rs | 2 |
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, |