Auto merge of #14763 - lnicola:dep-tree-fixes, r=lnicola

Fix manual formatting and remove duplicate command
This commit is contained in:
bors 2023-05-08 18:28:58 +00:00
commit aaed89ac04
3 changed files with 6 additions and 5 deletions

View File

@ -15,6 +15,11 @@ pub struct CrateInfo {
// Shows a view tree with all the dependencies of this project
//
// |===
// | Editor | Panel Name
//
// | VS Code | **Rust Dependencies**
// |===
//
// image::https://user-images.githubusercontent.com/5748995/229394139-2625beab-f4c9-484b-84ed-ad5dee0b1e1a.png[]
pub(crate) fn fetch_crates(db: &RootDatabase) -> FxIndexSet<CrateInfo> {
let crate_graph = db.crate_graph();

View File

@ -10,7 +10,7 @@ use crate::{FilePosition, NavigationTarget, RangeInfo, TryToNav};
// |===
// | Editor | Action Name
//
// | VS Code | **Go to Type Definition*
// | VS Code | **Go to Type Definition**
// |===
//
// image::https://user-images.githubusercontent.com/48062697/113020657-b560f500-917a-11eb-9007-0f809733a338.gif[]

View File

@ -285,10 +285,6 @@
"title": "Clear flycheck diagnostics",
"category": "rust-analyzer"
},
{
"command": "rust-analyzer.revealDependency",
"title": "Reveal File"
},
{
"command": "rust-analyzer.revealDependency",
"title": "Reveal File"