mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-12-09 10:55:42 +00:00
minor: Freshen up goto feature docs
This commit is contained in:
parent
732eb9a167
commit
86576072ab
3 changed files with 6 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue