Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/adaptors/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -992,7 +992,7 @@ fn transpose_result<T, E>(result: Result<Option<T>, E>) -> Option<Result<T, E>>
}
}

/// Create a new `FilterOk` iterator.
/// Create a new `FilterMapOk` iterator.
pub fn filter_map_ok<I, F, T, U, E>(iter: I, f: F) -> FilterMapOk<I, F>
where
I: Iterator<Item = Result<T, E>>,
Expand Down
1 change: 1 addition & 0 deletions src/size_hint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ pub fn min(a: SizeHint, b: SizeHint) -> SizeHint {
(lower, upper)
}

/// Test multiplication of size hints.
#[test]
fn mul_size_hints() {
assert_eq!(mul((3, Some(4)), (3, Some(4))), (9, Some(16)));
Expand Down
1 change: 1 addition & 0 deletions src/tuple_impl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,7 @@ macro_rules! impl_tuple_collect {
count_ident!($($Y)*)
}

/// Shift all elements one position to the left and push the new item to the end.
fn left_shift_push(&mut self, mut item: A) {
use std::mem::replace;

Expand Down
Loading