Skip to content

Commit 60d7fe3

Browse files
committed
Fix doc tests
1 parent d64d533 commit 60d7fe3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clippy_lints_internal/src/derive_deserialize_allowing_unknown.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ declare_tool_lint! {
2626
///
2727
/// ### Example
2828
/// ```rust
29-
/// #[derive(Deserialize)]
29+
/// #[derive(serde::Deserialize)]
3030
/// pub struct DisallowedPath {
3131
/// path: String,
3232
/// reason: Option<String>,
@@ -36,7 +36,7 @@ declare_tool_lint! {
3636
///
3737
/// Use instead:
3838
/// ```rust
39-
/// #[derive(Deserialize)]
39+
/// #[derive(serde::Deserialize)]
4040
/// #[serde(deny_unknown_fields)]
4141
/// pub struct DisallowedPath {
4242
/// path: String,

0 commit comments

Comments
 (0)