Skip to content

Commit 489ee09

Browse files
committed
No need to use local.into here
1 parent 1e24967 commit 489ee09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/mir/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1815,7 +1815,7 @@ impl<'tcx> Place<'tcx> {
18151815
impl From<Local> for Place<'_> {
18161816
fn from(local: Local) -> Self {
18171817
Place {
1818-
local: local.into(),
1818+
local,
18191819
projection: List::empty(),
18201820
}
18211821
}

0 commit comments

Comments
 (0)