File tree 2 files changed +9
-2
lines changed
docs/book/src/contributing
2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,14 @@ use syntax::{
7
7
8
8
use crate :: NavigationTarget ;
9
9
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
+
10
18
/// This returns `Vec` because a module may be included from several places.
11
19
pub ( crate ) fn children_modules ( db : & RootDatabase , position : FilePosition ) -> Vec < NavigationTarget > {
12
20
let sema = Semantics :: new ( db) ;
@@ -104,7 +112,6 @@ mod foo;
104
112
//^^^
105
113
mod bar;
106
114
//^^^
107
-
108
115
//- /foo.rs
109
116
// empty
110
117
Original file line number Diff line number Diff line change 1
1
<!-- -
2
- lsp/ext.rs hash: 3549077514b37437
2
+ lsp/ext.rs hash: 300b4be5841cee6f
3
3
4
4
If you need to change the above hash to make the test pass, please check if you
5
5
need to adjust this doc as well and ping this issue:
You can’t perform that action at this time.
0 commit comments