Skip to content

Commit b2f5048

Browse files
committed
stabilize the poll_map feature
1 parent da305a2 commit b2f5048

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/core/src/task/poll.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ impl<T, E> Poll<Result<T, E>> {
8484

8585
impl<T, E> Poll<Option<Result<T, E>>> {
8686
/// Changes the success value of this `Poll` with the closure provided.
87-
#[unstable(feature = "poll_map", issue = "63514")]
87+
#[stable(feature = "poll_map", since = "1.51.0")]
8888
pub fn map_ok<U, F>(self, f: F) -> Poll<Option<Result<U, E>>>
8989
where
9090
F: FnOnce(T) -> U,
@@ -98,7 +98,7 @@ impl<T, E> Poll<Option<Result<T, E>>> {
9898
}
9999

100100
/// Changes the error value of this `Poll` with the closure provided.
101-
#[unstable(feature = "poll_map", issue = "63514")]
101+
#[stable(feature = "poll_map", since = "1.51.0")]
102102
pub fn map_err<U, F>(self, f: F) -> Poll<Option<Result<T, U>>>
103103
where
104104
F: FnOnce(E) -> U,

0 commit comments

Comments
 (0)