about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBALAGANESH <85802233+balaganesh102004@users.noreply.github.com>2024-04-07 15:07:25 +0000
committerBALAGANESH <85802233+balaganesh102004@users.noreply.github.com>2024-04-07 15:07:25 +0000
commit8f6ebf608db7759d0ca673b24bc9c7810484f169 (patch)
tree4d7ccb99162b5d52efe8065668d08c465b235b06
parent4e431fad67b46c480f1833119cd368fa33df95f7 (diff)
downloadrust-8f6ebf608db7759d0ca673b24bc9c7810484f169.tar.gz
rust-8f6ebf608db7759d0ca673b24bc9c7810484f169.zip
Made changes in documentation
-rw-r--r--library/core/src/ops/try_trait.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/ops/try_trait.rs b/library/core/src/ops/try_trait.rs
index 3f8c8efd416..483f55b2070 100644
--- a/library/core/src/ops/try_trait.rs
+++ b/library/core/src/ops/try_trait.rs
@@ -310,7 +310,7 @@ pub trait FromResidual<R = <Self as Try>::Residual> {
     /// This should be implemented consistently with the `branch` method such
     /// that applying the `?` operator will get back an equivalent residual:
     /// `FromResidual::from_residual(r).branch() --> ControlFlow::Break(r)`.
-    /// (It must not be an *identical* residual when interconversion is involved.)
+    /// (The residual is not mandated to be *identical* when interconversion is involved.)
     ///
     /// # Examples
     ///