We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd19113 commit eeb26fdCopy full SHA for eeb26fd
clippy_lints_internal/src/derive_deserialize_allowing_unknown.rs
@@ -25,7 +25,7 @@ declare_tool_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_tool_lint! {
35
36
/// Use instead:
37
38
39
/// #[serde(deny_unknown_fields)]
40
41
0 commit comments