Rollup merge of #126392 - WaffleLapkin:gvn-style-ish-changes, r=scottmcm
Small style improvement in `gvn.rs` Allowed by https://github.com/rust-lang/rust/pull/110451#discussion_r1169298319. :P r? ``@scottmcm``
This commit is contained in:
commit
424fe2c878
1 changed files with 1 additions and 2 deletions
|
@ -330,8 +330,7 @@ impl<'body, 'tcx> VnState<'body, 'tcx> {
|
||||||
let is_sized = !self.feature_unsized_locals
|
let is_sized = !self.feature_unsized_locals
|
||||||
|| self.local_decls[local].ty.is_sized(self.tcx, self.param_env);
|
|| self.local_decls[local].ty.is_sized(self.tcx, self.param_env);
|
||||||
if is_sized {
|
if is_sized {
|
||||||
self.rev_locals.ensure_contains_elem(value, SmallVec::new);
|
self.rev_locals.ensure_contains_elem(value, SmallVec::new).push(local);
|
||||||
self.rev_locals[value].push(local);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue