Skip to content

Commit 527e84f

Browse files
committed
cleaned up #[unstable] attributes
1 parent 6c7ea4c commit 527e84f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/libcore/result.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -909,8 +909,8 @@ impl<T: Default, E> Result<T, E> {
909909
}
910910
}
911911

912+
#[unstable(feature = "inner_deref", reason = "newly added", issue = "50264")]
912913
impl<T: Deref, E: Deref> Result<T, E> {
913-
#[unstable(feature = "inner_deref", reason = "newly added", issue = "50264")]
914914
/// Converts from `&Result<T, E>` to `Result<&T::Target, &E>`.
915915
///
916916
/// 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> {
920920
self.as_ref().map(|t| t.deref())
921921
}
922922

923-
#[unstable(feature = "inner_deref", reason = "newly added", issue = "50264")]
924923
/// Converts from `&Result<T, E>` to `Result<&T, &E::Target>`.
925924
///
926925
/// 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> {
931930
self.as_ref().map_err(|e| e.deref())
932931
}
933932

934-
#[unstable(feature = "inner_deref", reason = "newly added", issue = "50264")]
935933
/// Converts from `&Result<T, E>` to `Result<&T::Target, &E::Target>`.
936934
///
937935
/// Leaves the original Result in-place, creating a new one with a reference

0 commit comments

Comments
 (0)