about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-04-11 15:05:58 +0000
committerbors <bors@rust-lang.org>2024-04-11 15:05:58 +0000
commit6b1c828d91f72269156cb70561148e511dd4ef15 (patch)
treeca4f736a038a861fb282dc0b88bf200e8a23d270
parent7dca8152cf968fba6eab89e4f9af02b4958fb920 (diff)
parentd7a8622bf41a149cab0c464b70229632bf8a4f7e (diff)
Auto merge of #12661 - jqnatividad:unsafe_derive_deserialize-why_is_this_bad-typo, r=Alexendoo
unsafe_derive_deserialize: `Why is this bad?` explanation typo

changelog: [`unsafe_derive_deserialize`]: Correct `Why is this bad?` explanation typo
-rw-r--r--clippy_lints/src/derive.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/derive.rs b/clippy_lints/src/derive.rs
index 5f9700b76d9..42cd19fb8ec 100644
--- a/clippy_lints/src/derive.rs
+++ b/clippy_lints/src/derive.rs
@@ -132,7 +132,7 @@ declare_clippy_lint! {
     ///
     /// ### Why is this bad?
     /// Deriving `serde::Deserialize` will create a constructor
-    /// that may violate invariants hold by another constructor.
+    /// that may violate invariants held by another constructor.
     ///
     /// ### Example
     /// ```rust,ignore