outlives.rs: correct typo

This commit is contained in:
Niko Matsakis 2015-08-11 14:34:27 -04:00
parent c106dd449c
commit 213326cddd

View File

@ -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);