Skip to content

Commit

Permalink
fix(doctest): allow warning of unused #[macro_use] in itertools doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
aganders3 authored and jturner314 committed Jul 30, 2022
1 parent cd6fc28 commit 45a1ded
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/itertools.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ where
/// **Note:** To enable the macros in this crate, use the `#[macro_use]`
/// attribute when importing the crate:
///
/// ```
/// ```no_run
/// # #[allow(unused_imports)]
/// #[macro_use] extern crate itertools;
/// # fn main() { }
/// ```
Expand Down

0 comments on commit 45a1ded

Please sign in to comment.