mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 04:19:13 +00:00
remove Cancelable from Module API
This commit is contained in:
parent
91feed736f
commit
ca52cf1ecd
6 changed files with 18 additions and 22 deletions
|
@ -83,8 +83,7 @@ fn runnable_mod(db: &RootDatabase, file_id: FileId, module: &ast::Module) -> Opt
|
|||
.ok()?
|
||||
.into_iter()
|
||||
.rev()
|
||||
.filter_map(|it| it.name(db).ok())
|
||||
.filter_map(|it| it)
|
||||
.filter_map(|it| it.name(db))
|
||||
.join("::");
|
||||
Some(Runnable {
|
||||
range,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue