cargo xtask tidy

This commit is contained in:
geetanshjuneja 2025-04-07 21:41:26 +05:30
parent 1f7c3e8b92
commit 8f6d32cf62
2 changed files with 9 additions and 2 deletions

View File

@ -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

View File

@ -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: