Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide/src/goto_declaration.rs')
| -rw-r--r-- | crates/ide/src/goto_declaration.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crates/ide/src/goto_declaration.rs b/crates/ide/src/goto_declaration.rs index cb2cddc20d..926292c9b3 100644 --- a/crates/ide/src/goto_declaration.rs +++ b/crates/ide/src/goto_declaration.rs @@ -10,6 +10,9 @@ use crate::{FilePosition, NavigationTarget, RangeInfo}; // Feature: Go to Declaration // // Navigates to the declaration of an identifier. +// +// This is currently the same as `Go to Definition` with the exception of outline modules where it +// will navigate to the `mod name;` item declaration. pub(crate) fn goto_declaration( db: &RootDatabase, position: FilePosition, |