Update crates/rust-analyzer/src/main_loop/handlers.rs
use `Vec::new` instead of `Vec::with_capacity(0)` Co-Authored-By: Veetaha <veetaha2@gmail.com>
This commit is contained in:
parent
e903fd0d97
commit
60b154ff92
1 changed files with 1 additions and 1 deletions
|
|
@ -381,7 +381,7 @@ pub fn handle_runnables(
|
|||
label,
|
||||
bin: "cargo".to_string(),
|
||||
args: check_args,
|
||||
extra_args: Vec::with_capacity(0),
|
||||
extra_args: Vec::new(),
|
||||
env: FxHashMap::default(),
|
||||
cwd: workspace_root.map(|root| root.to_string_lossy().to_string()),
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue