rustfmt again

This commit is contained in:
Oliver Schneider 2017-02-17 13:41:59 +01:00 committed by GitHub
parent b1f766b37b
commit 9d8dc689c7

View file

@ -539,7 +539,8 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for CastPass {
UNNECESSARY_CAST, UNNECESSARY_CAST,
expr.span, expr.span,
&format!("casting to the same type is unnecessary (`{}` -> `{}`)", &format!("casting to the same type is unnecessary (`{}` -> `{}`)",
cast_from, cast_to)); cast_from,
cast_to));
} }
}, },
} }