We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13d482a commit 824d8eaCopy full SHA for 824d8ea
clippy_lints/src/utils/internal_lints/derive_deserialize_allowing_unknown.rs
@@ -25,7 +25,7 @@ declare_clippy_lint! {
25
///
26
/// ### Example
27
/// ```rust
28
- /// #[derive(Deserialize)]
+ /// #[derive(serde::Deserialize)]
29
/// pub struct DisallowedPath {
30
/// path: String,
31
/// reason: Option<String>,
@@ -35,7 +35,7 @@ declare_clippy_lint! {
35
36
/// Use instead:
37
38
39
/// #[serde(deny_unknown_fields)]
40
41
0 commit comments