From 4b3326efd06818f9d0e1dcf5c247a588ded7c8f6 Mon Sep 17 00:00:00 2001 From: Russell Cohen Date: Fri, 6 Apr 2018 22:44:25 -0700 Subject: [PATCH] Fix docs to match behavior --- clippy_lints/src/derive.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clippy_lints/src/derive.rs b/clippy_lints/src/derive.rs index b505e52c95b3..0c544c69d097 100644 --- a/clippy_lints/src/derive.rs +++ b/clippy_lints/src/derive.rs @@ -6,7 +6,7 @@ use utils::paths; use utils::{is_automatically_derived, is_copy, match_path, span_lint_and_then}; /// **What it does:** Checks for deriving `Hash` but implementing `PartialEq` -/// explicitly. +/// explicitly or vice versa. /// /// **Why is this bad?** The implementation of these traits must agree (for /// example for use with `HashMap`) so it’s probably a bad idea to use a