Skip to content

Commit 7409ffd

Browse files
committed
outlives/env: Fix comment that lost surrounding context.
1 parent a393596 commit 7409ffd

File tree

1 file changed

+2
-3
lines changed
  • src/librustc/infer/outlives

1 file changed

+2
-3
lines changed

src/librustc/infer/outlives/env.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,8 @@ impl<'a, 'gcx: 'tcx, 'tcx: 'a> OutlivesEnvironment<'tcx> {
162162
) where
163163
I: IntoIterator<Item = OutlivesBound<'tcx>>,
164164
{
165-
// But also record other relationships, such as `T:'x`,
166-
// that don't go into the free-region-map but which we use
167-
// here.
165+
// Record relationships such as `T:'x` that don't go into the
166+
// free-region-map but which we use here.
168167
for outlives_bound in outlives_bounds {
169168
debug!("add_outlives_bounds: outlives_bound={:?}", outlives_bound);
170169
match outlives_bound {

0 commit comments

Comments
 (0)