about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMarcel Hellwig <921462+hellow554@users.noreply.github.com>2019-01-07 14:32:32 +0100
committerGitHub <noreply@github.com>2019-01-07 14:32:32 +0100
commita3931229c47eca72fe04a9e574d45f0bf45c2727 (patch)
treee455ab51151afd098df8a44ea532907212355664
parent81fa26631cced133c7f554db64815725dd5953b0 (diff)
downloadrust-a3931229c47eca72fe04a9e574d45f0bf45c2727.tar.gz
rust-a3931229c47eca72fe04a9e574d45f0bf45c2727.zip
Add missing ` in default lint
-rw-r--r--clippy_lints/src/new_without_default.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/new_without_default.rs b/clippy_lints/src/new_without_default.rs
index 917a80b81f6..832311dc027 100644
--- a/clippy_lints/src/new_without_default.rs
+++ b/clippy_lints/src/new_without_default.rs
@@ -27,7 +27,7 @@ use syntax::source_map::Span;
 /// It detects both the case when a manual
 /// [`Default`](https://doc.rust-lang.org/std/default/trait.Default.html)
 /// implementation is required and also when it can be created with
-/// `#[derive(Default)]
+/// `#[derive(Default)]`
 ///
 /// **Why is this bad?** The user might expect to be able to use
 /// [`Default`](https://doc.rust-lang.org/std/default/trait.Default.html) as the