mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 06:41:48 +00:00
Change default()
This commit is contained in:
parent
9bfdab7089
commit
ad4276ac05
1 changed files with 1 additions and 1 deletions
|
@ -665,7 +665,7 @@ pub fn handle_code_action(
|
||||||
|
|
||||||
let assists = world.analysis().assists(FileRange { file_id, range })?.into_iter();
|
let assists = world.analysis().assists(FileRange { file_id, range })?.into_iter();
|
||||||
let diagnostics = world.analysis().diagnostics(file_id)?;
|
let diagnostics = world.analysis().diagnostics(file_id)?;
|
||||||
let mut res: CodeActionResponse = Default::default();
|
let mut res = CodeActionResponse::default();
|
||||||
|
|
||||||
let fixes_from_diagnostics = diagnostics
|
let fixes_from_diagnostics = diagnostics
|
||||||
.into_iter()
|
.into_iter()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue