We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d64d533 commit 60d7fe3Copy full SHA for 60d7fe3
clippy_lints_internal/src/derive_deserialize_allowing_unknown.rs
@@ -26,7 +26,7 @@ declare_tool_lint! {
26
///
27
/// ### Example
28
/// ```rust
29
- /// #[derive(Deserialize)]
+ /// #[derive(serde::Deserialize)]
30
/// pub struct DisallowedPath {
31
/// path: String,
32
/// reason: Option<String>,
@@ -36,7 +36,7 @@ declare_tool_lint! {
36
37
/// Use instead:
38
39
40
/// #[serde(deny_unknown_fields)]
41
42
0 commit comments