aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_project_model/src
diff options
context:
space:
mode:
authorEmil Lauridsen <[email protected]>2020-03-17 13:56:53 +0000
committerEmil Lauridsen <[email protected]>2020-03-17 13:56:53 +0000
commit2dd887de4761e2493f4df56233b0e11185d74d63 (patch)
tree4a8011773870657b0573d2ea587745999bb14d98 /crates/ra_project_model/src
parent5af81b8456b5fedcc981145bbead7cc7b6b2fc19 (diff)
Use dyn-ref instead of impl to impact compile times the least
Diffstat (limited to 'crates/ra_project_model/src')
-rw-r--r--crates/ra_project_model/src/cargo_workspace.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_project_model/src/cargo_workspace.rs b/crates/ra_project_model/src/cargo_workspace.rs
index 72cb5d388..10ecfa951 100644
--- a/crates/ra_project_model/src/cargo_workspace.rs
+++ b/crates/ra_project_model/src/cargo_workspace.rs
@@ -297,7 +297,7 @@ pub fn load_out_dirs(
297 } 297 }
298 298
299 let mut res = FxHashMap::default(); 299 let mut res = FxHashMap::default();
300 let mut child = run_cargo(&args, cargo_toml.parent(), |message| { 300 let mut child = run_cargo(&args, cargo_toml.parent(), &mut |message| {
301 match message { 301 match message {
302 Message::BuildScriptExecuted(message) => { 302 Message::BuildScriptExecuted(message) => {
303 let package_id = message.package_id; 303 let package_id = message.package_id;