about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPhilipp Krones <hello@philkrones.com>2020-06-23 14:39:44 +0200
committerGitHub <noreply@github.com>2020-06-23 14:39:44 +0200
commit24b77ea72fa50184afde9b628e8c0b1585ef8730 (patch)
treef7e7aee17ad305873161995126ebf4e478cd695f
parent9505919be5a9cee11c34d257eefe6c252e82223b (diff)
parentdee794f4503dda6a10891b49a7cb2f8bb92e001b (diff)
downloadrust-24b77ea72fa50184afde9b628e8c0b1585ef8730.tar.gz
rust-24b77ea72fa50184afde9b628e8c0b1585ef8730.zip
Rollup merge of #5710 - lcnr:patch-1, r=flip1995
typo

changelog: none
-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 dd236535c18..42200385932 100644
--- a/clippy_lints/src/new_without_default.rs
+++ b/clippy_lints/src/new_without_default.rs
@@ -33,7 +33,7 @@ declare_clippy_lint! {
     /// }
     /// ```
     ///
-    /// To fix the lint, and a `Default` implementation that delegates to `new`:
+    /// To fix the lint, add a `Default` implementation that delegates to `new`:
     ///
     /// ```ignore
     /// struct Foo(Bar);