clippy nit

This commit is contained in:
Oliver Schneider
2016-05-27 16:12:17 +02:00
parent 8961063c60
commit c55b3666ea
+1 -1
View File
@@ -1365,7 +1365,7 @@ impl<'mir, 'tcx: 'mir> Deref for CachedMir<'mir, 'tcx> {
fn deref(&self) -> &mir::Mir<'tcx> {
match *self {
CachedMir::Ref(r) => r,
CachedMir::Owned(ref rc) => &rc,
CachedMir::Owned(ref rc) => rc,
}
}
}