chore: clippy and doc fixes (#6081)

This commit is contained in:
Rafael Bachmann
2023-10-16 17:37:51 +02:00
committed by GitHub
parent 1b8ebfcffb
commit 6871084629
87 changed files with 224 additions and 239 deletions
+1 -1
View File
@@ -127,7 +127,7 @@ impl<T: Future> Spawn<T> {
}
impl<T: Stream> Spawn<T> {
/// If `T` is a [`Stream`] then poll_next it. This will handle pinning and the context
/// If `T` is a [`Stream`] then `poll_next` it. This will handle pinning and the context
/// type for the stream.
pub fn poll_next(&mut self) -> Poll<Option<T::Item>> {
let stream = self.future.as_mut();