Skip to content

Commit 7565519

Browse files
Merge #455
455: Unify documentation r=jswrenn a=robinmoussu Fix #448 Co-authored-by: Robin Moussu <moussu.robin@pm.me>
2 parents e3ea516 + 5d22f45 commit 7565519

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/adaptors/mod.rs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,7 @@ pub struct Interleave<I, J> {
3131
///
3232
/// `IntoIterator` enabled version of `i.interleave(j)`.
3333
///
34-
/// ```
35-
/// use itertools::interleave;
36-
///
37-
/// for elt in interleave(&[1, 2, 3], &[2, 3, 4]) {
38-
/// /* loop body */
39-
/// }
40-
/// ```
34+
/// See [`.interleave()`](trait.Itertools.html#method.interleave) for more information.
4135
pub fn interleave<I, J>(i: I, j: J) -> Interleave<<I as IntoIterator>::IntoIter, <J as IntoIterator>::IntoIter>
4236
where I: IntoIterator,
4337
J: IntoIterator<Item = I::Item>

0 commit comments

Comments
 (0)