Skip to content

Commit ab2bc9f

Browse files
committed
outlives/env: fix comment, say must and not should
1 parent 2716160 commit ab2bc9f

File tree

1 file changed

+1
-1
lines changed
  • src/librustc/infer/outlives

1 file changed

+1
-1
lines changed

src/librustc/infer/outlives/env.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ impl<'a, 'gcx: 'tcx, 'tcx: 'a> OutlivesEnvironment<'tcx> {
152152
/// Processes outlives bounds that are known to hold, whether from implied or other sources.
153153
///
154154
/// The `infcx` parameter is optional; if the implied bounds may
155-
/// contain inference variables, it should be supplied, in which
155+
/// contain inference variables, it must be supplied, in which
156156
/// case we will register "givens" on the inference context. (See
157157
/// `RegionConstraintData`.)
158158
fn add_outlives_bounds<I>(

0 commit comments

Comments
 (0)