File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -144,6 +144,7 @@ impl<'a> Level<'a> {
144
144
/// # Example
145
145
///
146
146
/// ```rust
147
+ /// # #[allow(clippy::needless_doctest_main)]
147
148
#[ doc = include_str ! ( "../examples/custom_level.rs" ) ]
148
149
/// ```
149
150
#[ doc = include_str ! ( "../examples/custom_level.svg" ) ]
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ pub(crate) struct Id<'a> {
26
26
/// # Example
27
27
///
28
28
/// ```rust
29
+ /// # #[allow(clippy::needless_doctest_main)]
29
30
#[ doc = include_str ! ( "../examples/highlight_message.rs" ) ]
30
31
/// ```
31
32
#[ doc = include_str ! ( "../examples/highlight_message.svg" ) ]
@@ -47,6 +48,7 @@ impl<'a> Group<'a> {
47
48
/// # Example
48
49
///
49
50
/// ```rust
51
+ /// # #[allow(clippy::needless_doctest_main)]
50
52
#[ doc = include_str ! ( "../examples/elide_header.rs" ) ]
51
53
/// ```
52
54
#[ doc = include_str ! ( "../examples/elide_header.svg" ) ]
You can’t perform that action at this time.
0 commit comments