From 9a64ec165ba3c54a87fb0c57e35ef71e3d0004d0 Mon Sep 17 00:00:00 2001 From: Avril Date: Mon, 9 Nov 2020 15:52:03 +0000 Subject: [PATCH] fix doc tests --- src/lib.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 6bc3f3c..36046e3 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -22,23 +22,23 @@ /// The iterators returned from this method have these associated functions: /// /// ## The length of the whole iterator -/// ``` +/// ```ignore /// pub const fn len(&self) -> usize /// ``` /// /// ## The rest of the iterator that has not been consumed. -/// ``` +/// ```ignore /// pub fn rest(&self) -> &[T] /// ``` /// /// ## The whole array. /// All values that have not been consumed are initialised, values that have been consumed are uninitialised. -/// ``` +/// ```ignore /// pub fn array(&self) -> &[MaybeUninit; Self::LEN] /// ``` /// /// ## How many items have since been consumed. -/// ``` +/// ```ignore /// pub const fn consumed(&self) -> usize /// ``` #[macro_export] macro_rules! iter {