Skip to content

Commit 7a64e08

Browse files
aganders3jturner314
authored andcommitted
fix(doctest): allow warning of unused #[macro_use] in itertools doctest
1 parent e6bbbef commit 7a64e08

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/itertools.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@ where
8686
/// **Note:** To enable the macros in this crate, use the `#[macro_use]`
8787
/// attribute when importing the crate:
8888
///
89-
/// ```
89+
/// ```no_run
90+
/// # #[allow(unused_imports)]
9091
/// #[macro_use] extern crate itertools;
9192
/// # fn main() { }
9293
/// ```

0 commit comments

Comments
 (0)