From fc31dc01def04c1db782c4e6ed0457f9047dfcdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Kr=C3=BCger?= Date: Mon, 27 Aug 2018 17:35:30 +0200 Subject: [PATCH] docs: make example in new_without_default lint syntax highlighted --- clippy_lints/src/new_without_default.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clippy_lints/src/new_without_default.rs b/clippy_lints/src/new_without_default.rs index 224326b3d17..820e76f886e 100644 --- a/clippy_lints/src/new_without_default.rs +++ b/clippy_lints/src/new_without_default.rs @@ -21,7 +21,7 @@ use crate::utils::sugg::DiagnosticBuilderExt; /// /// **Example:** /// -/// ```rust,ignore +/// ```rust /// struct Foo(Bar); /// /// impl Foo { @@ -63,7 +63,7 @@ declare_clippy_lint! { /// /// **Example:** /// -/// ```rust,ignore +/// ```rust /// struct Foo; /// /// impl Foo {