Unnamed repository; edit this file 'description' to name the repository.
Clarify constructor reference docs
| -rw-r--r-- | crates/ide/src/references.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ide/src/references.rs b/crates/ide/src/references.rs index 3eb7867a3a..34286c4790 100644 --- a/crates/ide/src/references.rs +++ b/crates/ide/src/references.rs @@ -79,8 +79,8 @@ pub struct Declaration { // // Special handling for constructors: // - When the cursor is on `{`, `(`, or `;` in a struct/enum definition -// - When the cursor is on the type name in a struct/enum definition // These cases will show only constructor/initialization usages of the type +// (for example, `S { .. }`, `S(..)`, or `S`) instead of every type reference. // // | Editor | Shortcut | // |---------|----------| |