diff --git a/crates/rust-analyzer/src/main_loop/handlers.rs b/crates/rust-analyzer/src/main_loop/handlers.rs index 0442733336bb..07761f00ac28 100644 --- a/crates/rust-analyzer/src/main_loop/handlers.rs +++ b/crates/rust-analyzer/src/main_loop/handlers.rs @@ -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()), });