mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 10:13:54 +00:00
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
@ -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…
Reference in New Issue
Block a user