提交 ab2bc9f0 编写于 作者: N Niko Matsakis

outlives/env: fix comment, say must and not should

上级 27161608
......@@ -152,7 +152,7 @@ pub fn add_implied_bounds(
/// 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>(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册