From 22f4bbb20f373b0c3d47788f58c95d60656918f2 Mon Sep 17 00:00:00 2001 From: Andrew Cann Date: Mon, 21 Mar 2022 12:57:06 +0800 Subject: Apply formatting fixes --- compiler/rustc_ty_utils/src/instance.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'compiler/rustc_ty_utils') diff --git a/compiler/rustc_ty_utils/src/instance.rs b/compiler/rustc_ty_utils/src/instance.rs index 87eca3d388b..edf47403c0d 100644 --- a/compiler/rustc_ty_utils/src/instance.rs +++ b/compiler/rustc_ty_utils/src/instance.rs @@ -263,10 +263,10 @@ fn resolve_associated_item<'tcx>( let is_copy = self_ty.is_copy_modulo_regions(tcx.at(DUMMY_SP), param_env); match self_ty.kind() { _ if is_copy => (), - ty::Generator(..) | - ty::GeneratorWitness(..) | - ty::Closure(..) | - ty::Tuple(..) => {}, + ty::Generator(..) + | ty::GeneratorWitness(..) + | ty::Closure(..) + | ty::Tuple(..) => {} _ => return Ok(None), }; -- cgit 1.4.1-3-g733a5