diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2015-08-11 14:34:27 -0400 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2015-08-12 17:58:58 -0400 |
| commit | 213326cddd0fa470c347992f5b66e776a85864a7 (patch) | |
| tree | 288cfc82682964c1da78ca5202ba330e70e8d942 | |
| parent | c106dd449ce9b8e0230a832810a9598274de27e3 (diff) | |
| download | rust-213326cddd0fa470c347992f5b66e776a85864a7.tar.gz rust-213326cddd0fa470c347992f5b66e776a85864a7.zip | |
outlives.rs: correct typo
| -rw-r--r-- | src/librustc/middle/outlives.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc/middle/outlives.rs b/src/librustc/middle/outlives.rs index 9e40910b8a6..ee871332de3 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); |
