Skip to content

Commit 2357d1a

Browse files
committed
Update comments for multiunzip
1 parent 3003c2a commit 2357d1a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/unziptuple.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ macro_rules! impl_unzip_iter {
3939
#[allow(non_snake_case)]
4040
impl<IT: Iterator<Item = ($($T,)*)>, $($T, $FromT: Default + Extend<$T>),* > MultiUnzip<($($FromT,)*)> for IT {
4141
fn multiunzip(self) -> ($($FromT,)*) {
42-
// This implementation mirrors the logic of Iterator::unzip as close as possible.
43-
// Unfortunately a lot of the used api there is still unstable represented by
44-
// the commented out parts that follow.
42+
// This implementation mirrors the logic of Iterator::unzip resp. Extend for (A, B) as close as possible.
43+
// Unfortunately a lot of the used api there is still unstable (https://github.com/rust-lang/rust/issues/72631).
4544
//
46-
// https://doc.rust-lang.org/src/core/iter/traits/iterator.rs.html#2816-2844
45+
// Iterator::unzip: https://doc.rust-lang.org/src/core/iter/traits/iterator.rs.html#2825-2865
46+
// Extend for (A, B): https://doc.rust-lang.org/src/core/iter/traits/collect.rs.html#370-411
4747

4848
let mut res = ($($FromT::default(),)*);
4949
let ($($FromT,)*) = &mut res;

0 commit comments

Comments
 (0)