Skip to content

Commit d533ada

Browse files
authored
Rollup merge of #145678 - ttajakka:master, r=estebank
Fix typo in docstring The return type is correct in the source code but incorrect in the docstring.
2 parents e0bf549 + f34fa22 commit d533ada

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/task/poll.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ impl<T, E> Poll<Result<T, E>> {
125125
}
126126
}
127127

128-
/// Maps a `Poll::Ready<Result<T, E>>` to `Poll::Ready<Result<T, F>>` by
128+
/// Maps a `Poll::Ready<Result<T, E>>` to `Poll::Ready<Result<T, U>>` by
129129
/// applying a function to a contained `Poll::Ready(Err)` value, leaving all other
130130
/// variants untouched.
131131
///

0 commit comments

Comments
 (0)