Skip to content

Commit aaed89a

Browse files
committed
Auto merge of rust-lang#14763 - lnicola:dep-tree-fixes, r=lnicola
Fix manual formatting and remove duplicate command
2 parents d3ce333 + 053741c commit aaed89a

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

crates/ide/src/fetch_crates.rs

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

crates/ide/src/goto_type_definition.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use crate::{FilePosition, NavigationTarget, RangeInfo, TryToNav};
1010
// |===
1111
// | Editor | Action Name
1212
//
13-
// | VS Code | **Go to Type Definition*
13+
// | VS Code | **Go to Type Definition**
1414
// |===
1515
//
1616
// image::https://user-images.githubusercontent.com/48062697/113020657-b560f500-917a-11eb-9007-0f809733a338.gif[]

editors/code/package.json

-4
Original file line numberDiff line numberDiff line change
@@ -285,10 +285,6 @@
285285
"title": "Clear flycheck diagnostics",
286286
"category": "rust-analyzer"
287287
},
288-
{
289-
"command": "rust-analyzer.revealDependency",
290-
"title": "Reveal File"
291-
},
292288
{
293289
"command": "rust-analyzer.revealDependency",
294290
"title": "Reveal File"

0 commit comments

Comments
 (0)