Skip to content

Commit

Permalink
Merge pull request rust-lang#3090 from matthiaskrgr/new_without_defau…
Browse files Browse the repository at this point in the history
…lt_highlight

docs: make example in new_without_default lint syntax highlighted
  • Loading branch information
llogiq authored Aug 27, 2018
2 parents 8901272 + fc31dc0 commit 43c629e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clippy_lints/src/new_without_default.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ use crate::utils::sugg::DiagnosticBuilderExt;
///
/// **Example:**
///
/// ```rust,ignore
/// ```rust
/// struct Foo(Bar);
///
/// impl Foo {
Expand Down Expand Up @@ -63,7 +63,7 @@ declare_clippy_lint! {
///
/// **Example:**
///
/// ```rust,ignore
/// ```rust
/// struct Foo;
///
/// impl Foo {
Expand Down

0 comments on commit 43c629e

Please sign in to comment.