diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2017-12-04 10:54:38 -0500 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2017-12-04 11:30:38 -0500 |
| commit | ab2bc9f073e15dd711c47102f42174740ce8f9b2 (patch) | |
| tree | 39295a6b80905945e9cdd1d3856f292b677eb494 | |
| parent | 271616088f42eb6f1ccd78d2a9d7923507d04655 (diff) | |
| download | rust-ab2bc9f073e15dd711c47102f42174740ce8f9b2.tar.gz rust-ab2bc9f073e15dd711c47102f42174740ce8f9b2.zip | |
outlives/env: fix comment, say must and not should
| -rw-r--r-- | src/librustc/infer/outlives/env.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/infer/outlives/env.rs b/src/librustc/infer/outlives/env.rs index 85e269b6972..d47507592f8 100644 --- a/src/librustc/infer/outlives/env.rs +++ b/src/librustc/infer/outlives/env.rs @@ -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. /// /// 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 /// `RegionConstraintData`.) fn add_outlives_bounds<I>( |
