mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 13:51:31 +00:00
Gifs and screenshots for features in manual
This commit is contained in:
parent
95107a7ccf
commit
276022682b
24 changed files with 44 additions and 0 deletions
|
@ -18,6 +18,8 @@ use crate::NavigationTarget;
|
|||
//
|
||||
// | VS Code | **Rust Analyzer: Locate parent module**
|
||||
// |===
|
||||
//
|
||||
// image::https://user-images.githubusercontent.com/48062697/113065580-04c21800-91b1-11eb-9a32-00086161c0bd.gif[]
|
||||
|
||||
/// This returns `Vec` because a module may be included from several places.
|
||||
pub(crate) fn parent_module(db: &RootDatabase, position: FilePosition) -> Vec<NavigationTarget> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue