Skip to content

Commit dba6c9c

Browse files
authored
Rollup merge of rust-lang#80968 - KodrAus:stabilize/poll_map, r=Mark-Simulacrum
Stabilize the poll_map feature Stabilizes the `poll_map` feature as tracked by rust-lang#63514 (with a completed FCP).
2 parents 79a8499 + b2f5048 commit dba6c9c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: 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)