diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2018-10-17 20:09:52 -0400 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2018-10-19 09:34:28 -0400 |
| commit | 02e5a902e8fc9ffda11eae3cea0e4988c08198c5 (patch) | |
| tree | 4fa8d1f7a170120016485f30344eb6bca62ebd1a | |
| parent | a66ab2bedcc2ac34086d17753f777ffe31dc6349 (diff) | |
| download | rust-02e5a902e8fc9ffda11eae3cea0e4988c08198c5.tar.gz rust-02e5a902e8fc9ffda11eae3cea0e4988c08198c5.zip | |
pacify the mercilous tidy
| -rw-r--r-- | src/librustc_mir/hair/cx/expr.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/librustc_mir/hair/cx/expr.rs b/src/librustc_mir/hair/cx/expr.rs index 5adaad15e4c..1df5f789751 100644 --- a/src/librustc_mir/hair/cx/expr.rs +++ b/src/librustc_mir/hair/cx/expr.rs @@ -757,7 +757,9 @@ fn make_mirror_unadjusted<'a, 'gcx, 'tcx>(cx: &mut Cx<'a, 'gcx, 'tcx>, } hir::ExprKind::Type(ref source, ref ty) => { let user_provided_tys = cx.tables.user_provided_tys(); - let user_ty = user_provided_tys.get(ty.hir_id).map(|&c_ty| UserTypeAnnotation::Ty(c_ty)); + let user_ty = user_provided_tys + .get(ty.hir_id) + .map(|&c_ty| UserTypeAnnotation::Ty(c_ty)); if source.is_place_expr() { ExprKind::PlaceTypeAscription { source: source.to_ref(), |
