@@ -2988,13 +2988,13 @@ impl Try for _DummyErrorType {
29882988/// in terms of a success/failure dichotomy. This trait allows both
29892989/// extracting those success or failure values from an existing instance and
29902990/// creating a new instance from a success or failure value.
2991- #[ unstable( feature = "try_trait" , issue = "31436 " ) ]
2991+ #[ unstable( feature = "try_trait" , issue = "42327 " ) ]
29922992pub trait Try {
29932993 /// The type of this value when viewed as successful.
2994- #[ unstable( feature = "try_trait" , issue = "31436 " ) ]
2994+ #[ unstable( feature = "try_trait" , issue = "42327 " ) ]
29952995 type Ok ;
29962996 /// The type of this value when viewed as failed.
2997- #[ unstable( feature = "try_trait" , issue = "31436 " ) ]
2997+ #[ unstable( feature = "try_trait" , issue = "42327 " ) ]
29982998 type Error ;
29992999
30003000 /// Applies the "?" operator. A return of `Ok(t)` means that the
@@ -3006,16 +3006,16 @@ pub trait Try {
30063006 /// in the return type of the enclosing scope (which must itself implement
30073007 /// `Try`). Specifically, the value `X::from_error(From::from(e))`
30083008 /// is returned, where `X` is the return type of the enclosing function.
3009- #[ unstable( feature = "try_trait" , issue = "31436 " ) ]
3009+ #[ unstable( feature = "try_trait" , issue = "42327 " ) ]
30103010 fn into_result ( self ) -> Result < Self :: Ok , Self :: Error > ;
30113011
30123012 /// Wrap an error value to construct the composite result. For example,
30133013 /// `Result::Err(x)` and `Result::from_error(x)` are equivalent.
3014- #[ unstable( feature = "try_trait" , issue = "31436 " ) ]
3014+ #[ unstable( feature = "try_trait" , issue = "42327 " ) ]
30153015 fn from_error ( v : Self :: Error ) -> Self ;
30163016
30173017 /// Wrap an OK value to construct the composite result. For example,
30183018 /// `Result::Ok(x)` and `Result::from_ok(x)` are equivalent.
3019- #[ unstable( feature = "try_trait" , issue = "31436 " ) ]
3019+ #[ unstable( feature = "try_trait" , issue = "42327 " ) ]
30203020 fn from_ok ( v : Self :: Ok ) -> Self ;
30213021}
0 commit comments