Unnamed repository; edit this file 'description' to name the repository.
cargo xtask tidy
geetanshjuneja 2025-04-07
parent 1f7c3e8 · commit 8f6d32c
-rw-r--r--crates/ide/src/children_modules.rs9
-rw-r--r--docs/book/src/contributing/lsp-extensions.md2
2 files changed, 9 insertions, 2 deletions
diff --git a/crates/ide/src/children_modules.rs b/crates/ide/src/children_modules.rs
index a668e52c3c..4bb7cb8424 100644
--- a/crates/ide/src/children_modules.rs
+++ b/crates/ide/src/children_modules.rs
@@ -7,6 +7,14 @@ use syntax::{
use crate::NavigationTarget;
+// Feature: Children Modules
+//
+// Navigates to the children modules of the current module.
+//
+// | Editor | Action Name |
+// |---------|-------------|
+// | VS Code | **rust-analyzer: Locate children modules** |
+
/// This returns `Vec` because a module may be included from several places.
pub(crate) fn children_modules(db: &RootDatabase, position: FilePosition) -> Vec<NavigationTarget> {
let sema = Semantics::new(db);
@@ -104,7 +112,6 @@ mod foo;
//^^^
mod bar;
//^^^
-
//- /foo.rs
// empty
diff --git a/docs/book/src/contributing/lsp-extensions.md b/docs/book/src/contributing/lsp-extensions.md
index 16217a7aa9..8854f580ea 100644
--- a/docs/book/src/contributing/lsp-extensions.md
+++ b/docs/book/src/contributing/lsp-extensions.md
@@ -1,5 +1,5 @@
<!---
-lsp/ext.rs hash: 3549077514b37437
+lsp/ext.rs hash: 300b4be5841cee6f
If you need to change the above hash to make the test pass, please check if you
need to adjust this doc as well and ping this issue: