Skip to content

Commit af8c37c

Browse files
edwin0chengVeetaha
andauthored
Fix typo
Co-Authored-By: Veetaha <veetaha2@gmail.com>
1 parent 6d5443e commit af8c37c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/ra_hir/src/semantics.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ impl<'db, DB: HirDatabase> Semantics<'db, DB> {
142142
}
143143

144144
/// 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
146146
pub fn find_node_at_offset_with_macros<N: AstNode>(
147147
&self,
148148
node: &SyntaxNode,

0 commit comments

Comments
 (0)