File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/tools/rust-analyzer/crates/ide/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1515//! - `(` for tuple structs/variants
1616//! - `;` for unit structs
1717//! - The type name in a struct/enum/variant definition
18- //! Then only constructor/initialization usages will be shown, filtering out other references.
18+ //! Then only constructor/initialization usages will be shown, filtering out other references.
1919
2020use hir:: { PathResolution , Semantics } ;
2121use ide_db:: {
@@ -105,7 +105,7 @@ pub struct Declaration {
105105/// - `(` after tuple struct/variant: Shows tuple literal initializations
106106/// - `;` after unit struct: Shows unit literal initializations
107107/// - Type name in definition: Shows all initialization usages
108- /// In these cases, other kinds of references (like type references) are filtered out.
108+ /// In these cases, other kinds of references (like type references) are filtered out.
109109pub ( crate ) fn find_all_refs (
110110 sema : & Semantics < ' _ , RootDatabase > ,
111111 position : FilePosition ,
You can’t perform that action at this time.
0 commit comments