diff options
| author | Marcel Hellwig <921462+hellow554@users.noreply.github.com> | 2019-01-07 14:32:32 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-01-07 14:32:32 +0100 |
| commit | a3931229c47eca72fe04a9e574d45f0bf45c2727 (patch) | |
| tree | e455ab51151afd098df8a44ea532907212355664 | |
| parent | 81fa26631cced133c7f554db64815725dd5953b0 (diff) | |
| download | rust-a3931229c47eca72fe04a9e574d45f0bf45c2727.tar.gz rust-a3931229c47eca72fe04a9e574d45f0bf45c2727.zip | |
Add missing ` in default lint
| -rw-r--r-- | clippy_lints/src/new_without_default.rs | 2 |
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 |
