We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a9a0707 + 4f7834e commit 4d5150cCopy full SHA for 4d5150c
src/libcore/ops/try.rs
@@ -16,7 +16,7 @@
16
/// creating a new instance from a success or failure value.
17
#[unstable(feature = "try_trait", issue = "42327")]
18
#[rustc_on_unimplemented = "the `?` operator can only be used in a function that returns `Result` \
19
- (or another type that implements `std::ops::Try`)"]
+ (or another type that implements `{Try}`)"]
20
pub trait Try {
21
/// The type of this value when viewed as successful.
22
0 commit comments