cargo xtask tidy
This commit is contained in:
parent
ac3a2b9ca9
commit
7b37e91f22
2 changed files with 9 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue