Skip to content

Commit 8193ee6

Browse files
authored
Rollup merge of #158005 - theemathas:zipimpl-no-doc-hidden, r=jhpratt
Remove useless `#[doc(hidden)]` from `ZipImpl` The `ZipImpl` trait is private, so the `#[doc(hidden)]` is unneccessary. The `#[doc(hidden)]` was already there when the trait was created in [`a8f2e9b` (#33090)](a8f2e9b). This seems to have been an oversight.
2 parents b6588e7 + 9092073 commit 8193ee6

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

  • library/core/src/iter/adapters

library/core/src/iter/adapters/zip.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,6 @@ where
125125
}
126126

127127
// Zip specialization trait
128-
#[doc(hidden)]
129128
trait ZipImpl<A, B> {
130129
type Item;
131130
fn new(a: A, b: B) -> Self;
@@ -204,7 +203,6 @@ macro_rules! zip_impl_general_defaults {
204203
}
205204

206205
// General Zip impl
207-
#[doc(hidden)]
208206
impl<A, B> ZipImpl<A, B> for Zip<A, B>
209207
where
210208
A: Iterator,
@@ -247,7 +245,6 @@ where
247245
}
248246
}
249247

250-
#[doc(hidden)]
251248
impl<A, B> ZipImpl<A, B> for Zip<A, B>
252249
where
253250
A: TrustedRandomAccessNoCoerce + Iterator,
@@ -288,7 +285,6 @@ where
288285
}
289286
}
290287

291-
#[doc(hidden)]
292288
impl<A, B> ZipImpl<A, B> for Zip<A, B>
293289
where
294290
A: TrustedRandomAccess + Iterator,

0 commit comments

Comments
 (0)