mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 14:51:48 +00:00
Fix typo
Co-Authored-By: Veetaha <veetaha2@gmail.com>
This commit is contained in:
parent
6d5443ef94
commit
af8c37cb57
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ impl<'db, DB: HirDatabase> Semantics<'db, DB> {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Find a AstNode by offset inside SyntaxNode, if it is inside *Macrofile*,
|
/// 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>(
|
pub fn find_node_at_offset_with_macros<N: AstNode>(
|
||||||
&self,
|
&self,
|
||||||
node: &SyntaxNode,
|
node: &SyntaxNode,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue