diff options
| author | Georg Semmler <georg_semmler_05@web.de> | 2018-11-22 00:14:35 +0100 |
|---|---|---|
| committer | Georg Semmler <georg_semmler_05@web.de> | 2019-01-03 22:26:51 +0100 |
| commit | 1715be0e3cb0408414853d9e4c869b4ad8160749 (patch) | |
| tree | dd39803364d27ccb32168c1493149be4371dfd91 /src/librustc/traits | |
| parent | 70645e79b65ad255c1465b2caa985cbc16b851f3 (diff) | |
| download | rust-1715be0e3cb0408414853d9e4c869b4ad8160749.tar.gz rust-1715be0e3cb0408414853d9e4c869b4ad8160749.zip | |
Fix tidy
Diffstat (limited to 'src/librustc/traits')
| -rw-r--r-- | src/librustc/traits/coherence.rs | 8 |
1 files 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); |
