1
Fork 0

clippy nit

This commit is contained in:
Oliver Schneider 2016-05-27 16:12:17 +02:00
commit c55b3666ea
No known key found for this signature in database
GPG key ID: 56D6EEA0FC67AC46

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,
}
}
}