diff options
| author | Tuomas Tajakka <52465751+ttajakka@users.noreply.github.com> | 2025-08-20 22:03:26 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-20 22:03:26 +0300 |
| commit | f34fa22740a4ebeb81aaa12cb5666cee51e42111 (patch) | |
| tree | bc7c61fefe086b565c64359dc3f135133df01dce | |
| parent | e8a792daf500b5ff8097896ddb6cc037abe92487 (diff) | |
| download | rust-f34fa22740a4ebeb81aaa12cb5666cee51e42111.tar.gz rust-f34fa22740a4ebeb81aaa12cb5666cee51e42111.zip | |
fix: typo
The return type is correct in the source code but incorrect in the docstring
| -rw-r--r-- | library/core/src/task/poll.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/task/poll.rs b/library/core/src/task/poll.rs index ca668361ef6..59ffe7ad49c 100644 --- a/library/core/src/task/poll.rs +++ b/library/core/src/task/poll.rs @@ -125,7 +125,7 @@ impl<T, E> Poll<Result<T, E>> { } } - /// Maps a `Poll::Ready<Result<T, E>>` to `Poll::Ready<Result<T, F>>` by + /// Maps a `Poll::Ready<Result<T, E>>` to `Poll::Ready<Result<T, U>>` by /// applying a function to a contained `Poll::Ready(Err)` value, leaving all other /// variants untouched. /// |
