about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAshley Mannix <kodraus@hey.com>2021-01-13 14:51:27 +1000
committerAshley Mannix <kodraus@hey.com>2021-01-13 14:51:27 +1000
commitb2f504801c5c7cadc1e5f0c950ec11cef7c1a3ef (patch)
tree53dfda6c9e154a2c7d235369c98035761d697ed7
parentda305a2b00530aa34dea4e48389204c26fa35dbb (diff)
downloadrust-b2f504801c5c7cadc1e5f0c950ec11cef7c1a3ef.tar.gz
rust-b2f504801c5c7cadc1e5f0c950ec11cef7c1a3ef.zip
stabilize the poll_map feature
-rw-r--r--library/core/src/task/poll.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/core/src/task/poll.rs b/library/core/src/task/poll.rs
index 6851f3fcd2f..42c9d9f0cc0 100644
--- a/library/core/src/task/poll.rs
+++ b/library/core/src/task/poll.rs
@@ -84,7 +84,7 @@ impl<T, E> Poll<Result<T, E>> {
 
 impl<T, E> Poll<Option<Result<T, E>>> {
     /// Changes the success value of this `Poll` with the closure provided.
-    #[unstable(feature = "poll_map", issue = "63514")]
+    #[stable(feature = "poll_map", since = "1.51.0")]
     pub fn map_ok<U, F>(self, f: F) -> Poll<Option<Result<U, E>>>
     where
         F: FnOnce(T) -> U,
@@ -98,7 +98,7 @@ impl<T, E> Poll<Option<Result<T, E>>> {
     }
 
     /// Changes the error value of this `Poll` with the closure provided.
-    #[unstable(feature = "poll_map", issue = "63514")]
+    #[stable(feature = "poll_map", since = "1.51.0")]
     pub fn map_err<U, F>(self, f: F) -> Poll<Option<Result<T, U>>>
     where
         F: FnOnce(E) -> U,