Fix docs to match behavior

This commit is contained in:
Russell Cohen 2018-04-06 22:44:25 -07:00 committed by GitHub
parent 044b3d90c3
commit 4b3326efd0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,7 +6,7 @@ use utils::paths;
use utils::{is_automatically_derived, is_copy, match_path, span_lint_and_then}; use utils::{is_automatically_derived, is_copy, match_path, span_lint_and_then};
/// **What it does:** Checks for deriving `Hash` but implementing `PartialEq` /// **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 /// **Why is this bad?** The implementation of these traits must agree (for
/// example for use with `HashMap`) so its probably a bad idea to use a /// example for use with `HashMap`) so its probably a bad idea to use a