chore: update CI's clippy version to 1.65 (#5276)

This commit is contained in:
Carl Lerche
2022-12-06 19:56:13 -08:00
committed by GitHub
parent 07da5e73ee
commit 22cff80048
20 changed files with 27 additions and 27 deletions
+1 -1
View File
@@ -72,7 +72,7 @@ where
}
fn size_hint(&self) -> (usize, Option<usize>) {
let future_len = if self.future.is_some() { 1 } else { 0 };
let future_len = usize::from(self.future.is_some());
let (lower, upper) = self.stream.size_hint();
let lower = lower.saturating_add(future_len);