outlives/env: Fix comment that lost surrounding context.

This commit is contained in:
Niko Matsakis 2017-12-04 10:42:46 -05:00
parent a3935961f0
commit 7409ffd17e

View File

@ -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 {