about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBastian Kauschke <bastian_kauschke@hotmail.de>2020-06-13 12:42:58 +0200
committerGitHub <noreply@github.com>2020-06-13 12:42:58 +0200
commitdee794f4503dda6a10891b49a7cb2f8bb92e001b (patch)
treebe6288f1bf3b0de9d6976567425ca6dabca870e2
parent742706511c9f33c6a0d4380392e513e5249057e3 (diff)
downloadrust-dee794f4503dda6a10891b49a7cb2f8bb92e001b.tar.gz
rust-dee794f4503dda6a10891b49a7cb2f8bb92e001b.zip
typo
-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);