mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 07:00:55 +00:00
Fix docs to match behavior
This commit is contained in:
parent
044b3d90c3
commit
4b3326efd0
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue