Skip to content

Commit 7a87469

Browse files
committed
Give the try_trait feature its own tracking issue
1 parent ecde1e1 commit 7a87469

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed
+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# `try_trait`
22

3-
The tracking issue for this feature is: [#31436]
3+
The tracking issue for this feature is: [#42327]
44

5-
[#31436]: https://github.com/rust-lang/rust/issues/31436
5+
[#42327]: https://github.com/rust-lang/rust/issues/42327
66

77
------------------------

Diff for: src/libcore/ops.rs

+6-6
Original file line numberDiff line numberDiff line change
@@ -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")]
29922992
pub 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
}

Diff for: src/libcore/result.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1110,7 +1110,7 @@ impl<A, E, V: FromIterator<A>> FromIterator<Result<A, E>> for Result<V, E> {
11101110
}
11111111
}
11121112

1113-
#[unstable(feature = "try_trait", issue = "31436")]
1113+
#[unstable(feature = "try_trait", issue = "42327")]
11141114
impl<T,E> ops::Try for Result<T, E> {
11151115
type Ok = T;
11161116
type Error = E;

0 commit comments

Comments
 (0)