Skip to content

Commit e0249ad

Browse files
Fix tidy
1 parent 9ccac2a commit e0249ad

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/librustc_mir/transform/promote_consts.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,10 @@ struct TempCollector<'tcx> {
8282
}
8383

8484
impl<'tcx> Visitor<'tcx> for TempCollector<'tcx> {
85-
fn visit_lvalue(&mut self, lvalue: &Lvalue<'tcx>, context: LvalueContext<'tcx>, location: Location) {
85+
fn visit_lvalue(&mut self,
86+
lvalue: &Lvalue<'tcx>,
87+
context: LvalueContext<'tcx>,
88+
location: Location) {
8689
self.super_lvalue(lvalue, context, location);
8790
if let Lvalue::Local(index) = *lvalue {
8891
// We're only interested in temporaries

0 commit comments

Comments
 (0)