Co-Authored-By: Veetaha <veetaha2@gmail.com>
This commit is contained in:
Edwin Cheng 2020-03-22 22:01:48 +08:00 committed by GitHub
parent 6d5443ef94
commit af8c37cb57
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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<N: AstNode>(
&self,
node: &SyntaxNode,