mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
Use dyn-ref instead of impl to impact compile times the least
This commit is contained in:
parent
5af81b8456
commit
2dd887de47
2 changed files with 3 additions and 3 deletions
|
@ -297,7 +297,7 @@ pub fn load_out_dirs(
|
|||
}
|
||||
|
||||
let mut res = FxHashMap::default();
|
||||
let mut child = run_cargo(&args, cargo_toml.parent(), |message| {
|
||||
let mut child = run_cargo(&args, cargo_toml.parent(), &mut |message| {
|
||||
match message {
|
||||
Message::BuildScriptExecuted(message) => {
|
||||
let package_id = message.package_id;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue