From 213326cddd0fa470c347992f5b66e776a85864a7 Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Tue, 11 Aug 2015 14:34:27 -0400 Subject: [PATCH] outlives.rs: correct typo --- src/librustc/middle/outlives.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/librustc/middle/outlives.rs b/src/librustc/middle/outlives.rs index 9e40910b8a66..ee871332de31 100644 --- a/src/librustc/middle/outlives.rs +++ b/src/librustc/middle/outlives.rs @@ -126,8 +126,8 @@ fn compute_components<'a,'tcx>(infcx: &InferCtxt<'a,'tcx>, // maintained explicitly, because bound regions themselves can // be readily identified. However, because the outlives // relation did not used to be applied to fn/trait-object - // arguments, we due wrap the resulting components in an - // RFC1214 wrapper so we can issue warnings. + // arguments, we wrap the resulting components in an RFC1214 + // wrapper so we can issue warnings. ty::TyBareFn(..) | ty::TyTrait(..) => { // OutlivesFunction, OutlivesObject, OutlivesFragment let subcomponents = capture_components(infcx, ty);