Skip to content

Commit

Permalink
Fixed indent, grammar, and link in std::hash docs
Browse files Browse the repository at this point in the history
  • Loading branch information
chordowl committed Apr 10, 2017
1 parent 0dce586 commit 12d7c3d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/libcore/hash/mod.rs
Expand Up @@ -119,12 +119,12 @@ mod sip;
/// ```
/// #[derive(Hash)]
/// struct Rustacean {
/// name: String,
/// country: String,
/// name: String,
/// country: String,
/// }
/// ```
///
/// If you need more control over how a value is hash, you can of course
/// If you need more control over how a value is hashed, you can of course
/// implement the `Hash` trait yourself:
///
/// ```
Expand Down Expand Up @@ -378,7 +378,7 @@ pub trait Hasher {
/// assert_eq!(hasher_1.finish(), hasher_2.finish());
/// ```
///
/// [`build_hasher`]: #method.build_hasher
/// [`build_hasher`]: #tymethod.build_hasher
/// [`Hasher`]: trait.Hasher.html
/// [`HashMap`]: ../../std/collections/struct.HashMap.html
#[stable(since = "1.7.0", feature = "build_hasher")]
Expand Down

0 comments on commit 12d7c3d

Please sign in to comment.