From 1715be0e3cb0408414853d9e4c869b4ad8160749 Mon Sep 17 00:00:00 2001 From: Georg Semmler Date: Thu, 22 Nov 2018 00:14:35 +0100 Subject: [PATCH] Fix tidy --- src/librustc/traits/coherence.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/librustc/traits/coherence.rs b/src/librustc/traits/coherence.rs index 90e09763019..331692e730c 100644 --- a/src/librustc/traits/coherence.rs +++ b/src/librustc/traits/coherence.rs @@ -396,10 +396,10 @@ fn orphan_check_trait_ref<'tcx>(tcx: TyCtxt<'_, '_, '_>, debug!("orphan_check_trait_ref: no local type"); Err(OrphanCheckErr::NoLocalInputType) } else { - // First, create an ordered iterator over all the type parameters to the trait, with the self - // type appearing first. - // Find the first input type that either references a type parameter OR - // some local type. + // First, create an ordered iterator over all the type + // parameters to the trait, with the self type appearing + // first. Find the first input type that either references a + // type parameter OR some local type. for input_ty in trait_ref.input_types() { if ty_is_local(tcx, input_ty, in_crate) { debug!("orphan_check_trait_ref: ty_is_local `{:?}`", input_ty);