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:
hdevalke 2020-03-12 20:56:34 +01:00 committed by GitHub
parent e903fd0d97
commit 60b154ff92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()),
});