Skip to content

Commit

Permalink
DOC: Clairfy doc for equivalent
Browse files Browse the repository at this point in the history
  • Loading branch information
bluss committed Sep 18, 2017
1 parent fbb6b9e commit 8465215
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/equivalent.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use std::borrow::Borrow;
///
/// # Contract
///
/// The implementor must hash like `K`, if applicable.
/// The implementor **must** hash like `K`, if it is hashable.
pub trait Equivalent<K: ?Sized> {
/// Compare self to `key` and return `true` if they are equal.
fn equivalent(&self, key: &K) -> bool;
Expand Down

0 comments on commit 8465215

Please sign in to comment.