From aac4268547990d1f376742555eb6331e0565ee2d Mon Sep 17 00:00:00 2001 From: Marcel Hellwig Date: Thu, 2 Jun 2022 13:51:49 +0200 Subject: [PATCH] fix rustdoc warnings --- src/lib.rs | 1 - src/ziptuple.rs | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 40d619665..4b9d73e6f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -2694,7 +2694,6 @@ pub trait Itertools : Iterator { /// itertools::assert_equal(oldest_people_first, /// vec!["Jill", "Jack", "Jane", "John"]); /// ``` - /// ``` #[cfg(feature = "use_alloc")] fn sorted_by_cached_key(self, f: F) -> VecIntoIter where diff --git a/src/ziptuple.rs b/src/ziptuple.rs index b7902ae53..6d3a584c4 100644 --- a/src/ziptuple.rs +++ b/src/ziptuple.rs @@ -36,6 +36,7 @@ pub struct Zip { /// /// assert_eq!(results, [0 + 3, 10 + 7, 29, 36]); /// ``` +/// [`izip!()`]: crate::izip pub fn multizip(t: U) -> Zip where Zip: From, Zip: Iterator,