outlives/env: fix comment, say must and not should
This commit is contained in:
parent
271616088f
commit
ab2bc9f073
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ impl<'a, 'gcx: 'tcx, 'tcx: 'a> OutlivesEnvironment<'tcx> {
|
||||||
/// Processes outlives bounds that are known to hold, whether from implied or other sources.
|
/// Processes outlives bounds that are known to hold, whether from implied or other sources.
|
||||||
///
|
///
|
||||||
/// The `infcx` parameter is optional; if the implied bounds may
|
/// The `infcx` parameter is optional; if the implied bounds may
|
||||||
/// contain inference variables, it should be supplied, in which
|
/// contain inference variables, it must be supplied, in which
|
||||||
/// case we will register "givens" on the inference context. (See
|
/// case we will register "givens" on the inference context. (See
|
||||||
/// `RegionConstraintData`.)
|
/// `RegionConstraintData`.)
|
||||||
fn add_outlives_bounds<I>(
|
fn add_outlives_bounds<I>(
|
||||||
|
|
Loading…
Reference in a new issue