Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5c3559d

Browse files
Rollup merge of #123595 - balaganesh102004:master, r=joboet
Documentation fix Changed "It must not be an identical residual when interconversion is involved" to "The residual is not mandated to be identical when interconversion is involved." as the previous parenthetical appears to state that the residual is not permitted to be identical when interconversion is involved. However the intention of the original wording was to convey that the residual is not required to be identical when interconversion is involved, which makes more sense contextually.
2 parents 17c94b5 + 8f6ebf6 commit 5c3559d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎library/core/src/ops/try_trait.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ pub trait FromResidual<R = <Self as Try>::Residual> {
310310
/// This should be implemented consistently with the `branch` method such
311311
/// that applying the `?` operator will get back an equivalent residual:
312312
/// `FromResidual::from_residual(r).branch() --> ControlFlow::Break(r)`.
313-
/// (It must not be an *identical* residual when interconversion is involved.)
313+
/// (The residual is not mandated to be *identical* when interconversion is involved.)
314314
///
315315
/// # Examples
316316
///

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /