chore: fix spelling (#4769)

Signed-off-by: Richard Zak <[email protected]>
This commit is contained in:
Richard Zak
2022-06-15 16:06:50 +00:00
committed by GitHub
parent d487c1ca34
commit f26ce08f37
11 changed files with 22 additions and 22 deletions
+2 -2
View File
@@ -1070,10 +1070,10 @@ impl<St: ?Sized> StreamExt for St where St: Stream {}
/// Merge the size hints from two streams.
fn merge_size_hints(
(left_low, left_high): (usize, Option<usize>),
(right_low, right_hign): (usize, Option<usize>),
(right_low, right_high): (usize, Option<usize>),
) -> (usize, Option<usize>) {
let low = left_low.saturating_add(right_low);
let high = match (left_high, right_hign) {
let high = match (left_high, right_high) {
(Some(h1), Some(h2)) => h1.checked_add(h2),
_ => None,
};