Skip to content

Commit 8f6d32c

Browse files
cargo xtask tidy
1 parent 1f7c3e8 commit 8f6d32c

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

crates/ide/src/children_modules.rs

+8-1
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

docs/book/src/contributing/lsp-extensions.md

+1-1
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)