mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 06:11:35 +00:00
autofix remaining perf findings
This commit is contained in:
parent
196650dfaf
commit
3fb2cd2002
7 changed files with 12 additions and 11 deletions
|
@ -2070,8 +2070,8 @@ pub fn mir_body_for_closure_query(
|
|||
prev_projs
|
||||
.lookup(&store)
|
||||
.iter()
|
||||
.cloned()
|
||||
.skip(it.0.place.projections.len()),
|
||||
.skip(it.0.place.projections.len())
|
||||
.cloned(),
|
||||
);
|
||||
p.projection = store.intern(next_projs.into());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue