mirror of
https://github.com/rust-lang/rust-clippy
synced 2025-02-25 11:57:25 +00:00
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
This commit is contained in:
commit
6b1c828d91
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ declare_clippy_lint! {
|
||||||
///
|
///
|
||||||
/// ### Why is this bad?
|
/// ### Why is this bad?
|
||||||
/// Deriving `serde::Deserialize` will create a constructor
|
/// Deriving `serde::Deserialize` will create a constructor
|
||||||
/// that may violate invariants hold by another constructor.
|
/// that may violate invariants held by another constructor.
|
||||||
///
|
///
|
||||||
/// ### Example
|
/// ### Example
|
||||||
/// ```rust,ignore
|
/// ```rust,ignore
|
||||||
|
|
Loading…
Add table
Reference in a new issue