diff options
| author | Scott McMurray <scottmcm@users.noreply.github.com> | 2021-08-21 15:09:03 -0700 |
|---|---|---|
| committer | Scott McMurray <scottmcm@users.noreply.github.com> | 2021-08-21 15:09:03 -0700 |
| commit | 65bfc3130a782464d301c85b3edcbed5732b8a52 (patch) | |
| tree | 7abe7cefbe9b6776c896b64825f0e444943889be /library/core/src/task | |
| parent | b1928aa3b4a8a2df462e408b67ad29737a3f8f31 (diff) | |
| download | rust-65bfc3130a782464d301c85b3edcbed5732b8a52.tar.gz rust-65bfc3130a782464d301c85b3edcbed5732b8a52.zip | |
Remove the `TryV2` alias
Post-bootstrap-update cleanup.
Diffstat (limited to 'library/core/src/task')
| -rw-r--r-- | library/core/src/task/poll.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/core/src/task/poll.rs b/library/core/src/task/poll.rs index fc0a4e74797..25070460996 100644 --- a/library/core/src/task/poll.rs +++ b/library/core/src/task/poll.rs @@ -222,7 +222,7 @@ impl<T> From<T> for Poll<T> { } #[unstable(feature = "try_trait_v2", issue = "84277")] -impl<T, E> ops::TryV2 for Poll<Result<T, E>> { +impl<T, E> ops::Try for Poll<Result<T, E>> { type Output = Poll<T>; type Residual = Result<convert::Infallible, E>; @@ -252,7 +252,7 @@ impl<T, E, F: From<E>> ops::FromResidual<Result<convert::Infallible, E>> for Pol } #[unstable(feature = "try_trait_v2", issue = "84277")] -impl<T, E> ops::TryV2 for Poll<Option<Result<T, E>>> { +impl<T, E> ops::Try for Poll<Option<Result<T, E>>> { type Output = Poll<Option<T>>; type Residual = Result<convert::Infallible, E>; |
