diff options
| author | Brad Gibson <b2b@humanenginuity.com> | 2018-04-26 20:41:10 -0700 |
|---|---|---|
| committer | Brad Gibson <b2b@humanenginuity.com> | 2018-04-26 20:41:10 -0700 |
| commit | 527e84f300a2cc36b74dcfc6a23ea9352cbf2e0b (patch) | |
| tree | 3fe1f1c55e3d0145bb6faff4425e4fca730d81f2 | |
| parent | 6c7ea4ca9b92e527873115951cfc8c864bbb71ad (diff) | |
| download | rust-527e84f300a2cc36b74dcfc6a23ea9352cbf2e0b.tar.gz rust-527e84f300a2cc36b74dcfc6a23ea9352cbf2e0b.zip | |
cleaned up #[unstable] attributes
| -rw-r--r-- | src/libcore/result.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libcore/result.rs b/src/libcore/result.rs index fbf2035e83f..9e302cb9f96 100644 --- a/src/libcore/result.rs +++ b/src/libcore/result.rs @@ -909,8 +909,8 @@ impl<T: Default, E> Result<T, E> { } } +#[unstable(feature = "inner_deref", reason = "newly added", issue = "50264")] impl<T: Deref, E: Deref> Result<T, E> { - #[unstable(feature = "inner_deref", reason = "newly added", issue = "50264")] /// Converts from `&Result<T, E>` to `Result<&T::Target, &E>`. /// /// Leaves the original Result in-place, creating a new one with a reference @@ -920,7 +920,6 @@ impl<T: Deref, E: Deref> Result<T, E> { self.as_ref().map(|t| t.deref()) } - #[unstable(feature = "inner_deref", reason = "newly added", issue = "50264")] /// Converts from `&Result<T, E>` to `Result<&T, &E::Target>`. /// /// Leaves the original Result in-place, creating a new one with a reference @@ -931,7 +930,6 @@ impl<T: Deref, E: Deref> Result<T, E> { self.as_ref().map_err(|e| e.deref()) } - #[unstable(feature = "inner_deref", reason = "newly added", issue = "50264")] /// Converts from `&Result<T, E>` to `Result<&T::Target, &E::Target>`. /// /// Leaves the original Result in-place, creating a new one with a reference |
