Skip to content

Commit 43c629e

Browse files
authored
Merge pull request #3090 from matthiaskrgr/new_without_default_highlight
docs: make example in new_without_default lint syntax highlighted
2 parents 8901272 + fc31dc0 commit 43c629e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clippy_lints/src/new_without_default.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ use crate::utils::sugg::DiagnosticBuilderExt;
2121
///
2222
/// **Example:**
2323
///
24-
/// ```rust,ignore
24+
/// ```rust
2525
/// struct Foo(Bar);
2626
///
2727
/// impl Foo {
@@ -63,7 +63,7 @@ declare_clippy_lint! {
6363
///
6464
/// **Example:**
6565
///
66-
/// ```rust,ignore
66+
/// ```rust
6767
/// struct Foo;
6868
///
6969
/// impl Foo {

0 commit comments

Comments
 (0)