Skip to content

Commit 12d7c3d

Browse files
committed
Fixed indent, grammar, and link in std::hash docs
1 parent 0dce586 commit 12d7c3d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: src/libcore/hash/mod.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -119,12 +119,12 @@ mod sip;
119119
/// ```
120120
/// #[derive(Hash)]
121121
/// struct Rustacean {
122-
/// name: String,
123-
/// country: String,
122+
/// name: String,
123+
/// country: String,
124124
/// }
125125
/// ```
126126
///
127-
/// If you need more control over how a value is hash, you can of course
127+
/// If you need more control over how a value is hashed, you can of course
128128
/// implement the `Hash` trait yourself:
129129
///
130130
/// ```
@@ -378,7 +378,7 @@ pub trait Hasher {
378378
/// assert_eq!(hasher_1.finish(), hasher_2.finish());
379379
/// ```
380380
///
381-
/// [`build_hasher`]: #method.build_hasher
381+
/// [`build_hasher`]: #tymethod.build_hasher
382382
/// [`Hasher`]: trait.Hasher.html
383383
/// [`HashMap`]: ../../std/collections/struct.HashMap.html
384384
#[stable(since = "1.7.0", feature = "build_hasher")]

0 commit comments

Comments
 (0)