about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2017-12-04 10:42:46 -0500
committerNiko Matsakis <niko@alum.mit.edu>2017-12-04 10:42:46 -0500
commit7409ffd17e111bf0265b7a203642dfd98c57d24b (patch)
treec2a0a137b928e65c9241d77c781d5539bd61baf6 /src
parenta3935961f025dcd3bc8c3470ceea219754b11674 (diff)
downloadrust-7409ffd17e111bf0265b7a203642dfd98c57d24b.tar.gz
rust-7409ffd17e111bf0265b7a203642dfd98c57d24b.zip
outlives/env: Fix comment that lost surrounding context.
Diffstat (limited to 'src')
-rw-r--r--src/librustc/infer/outlives/env.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/librustc/infer/outlives/env.rs b/src/librustc/infer/outlives/env.rs
index f7d94b47d7d..85e269b6972 100644
--- a/src/librustc/infer/outlives/env.rs
+++ b/src/librustc/infer/outlives/env.rs
@@ -162,9 +162,8 @@ impl<'a, 'gcx: 'tcx, 'tcx: 'a> OutlivesEnvironment<'tcx> {
     ) where
         I: IntoIterator<Item = OutlivesBound<'tcx>>,
     {
-        // But also record other relationships, such as `T:'x`,
-        // that don't go into the free-region-map but which we use
-        // here.
+        // Record relationships such as `T:'x` that don't go into the
+        // free-region-map but which we use here.
         for outlives_bound in outlives_bounds {
             debug!("add_outlives_bounds: outlives_bound={:?}", outlives_bound);
             match outlives_bound {