Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 7b37e91

Browse files
cargo xtask tidy
1 parent ac3a2b9 commit 7b37e91

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

src/tools/rust-analyzer/crates/ide/src/children_modules.rs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@ use syntax::{
77

88
use crate::NavigationTarget;
99

10+
// Feature: Children Modules
11+
//
12+
// Navigates to the children modules of the current module.
13+
//
14+
// | Editor | Action Name |
15+
// |---------|-------------|
16+
// | VS Code | **rust-analyzer: Locate children modules** |
17+
1018
/// This returns `Vec` because a module may be included from several places.
1119
pub(crate) fn children_modules(db: &RootDatabase, position: FilePosition) -> Vec<NavigationTarget> {
1220
let sema = Semantics::new(db);
@@ -104,7 +112,6 @@ mod foo;
104112
//^^^
105113
mod bar;
106114
//^^^
107-
108115
//- /foo.rs
109116
// empty
110117

src/tools/rust-analyzer/docs/book/src/contributing/lsp-extensions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!---
2-
lsp/ext.rs hash: 3549077514b37437
2+
lsp/ext.rs hash: 300b4be5841cee6f
33
44
If you need to change the above hash to make the test pass, please check if you
55
need to adjust this doc as well and ping this issue:

0 commit comments

Comments
 (0)