minor: Freshen up goto feature docs

This commit is contained in:
Lukas Wirth 2022-05-27 15:47:31 +02:00
parent 732eb9a167
commit 86576072ab
3 changed files with 6 additions and 1 deletions

View file

@ -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,