about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorDirk Gadsden <dirk@esherido.com>2016-03-08 21:52:44 -0800
committerDirk Gadsden <dirk@esherido.com>2016-03-08 21:52:44 -0800
commit46dc35e4772e892bf1be04fa01767e0ec00ffe2f (patch)
tree315c42ebb51c4a05dd02f45e442cd962a5a69206 /src/libcore
parent054196d1d9b5e932e5a2dd69b77d9210e26b95b5 (diff)
downloadrust-46dc35e4772e892bf1be04fa01767e0ec00ffe2f.tar.gz
rust-46dc35e4772e892bf1be04fa01767e0ec00ffe2f.zip
Link to actual CSPRNG in `hash::SipHasher` documentation
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/hash/sip.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libcore/hash/sip.rs b/src/libcore/hash/sip.rs
index 3a6686770f6..342071f1b51 100644
--- a/src/libcore/hash/sip.rs
+++ b/src/libcore/hash/sip.rs
@@ -19,13 +19,13 @@ use super::Hasher;
 ///
 /// See: http://131002.net/siphash/
 ///
-/// This is the default hashing function used by standard library (eg.
-/// `collections::HashMap` uses it by default).
+/// This is currently the default hashing function used by standard library
+/// (eg. `collections::HashMap` uses it by default).
 ///
 /// SipHash is a general-purpose hashing function: it runs at a good
 /// speed (competitive with Spooky and City) and permits strong _keyed_
-/// hashing. This lets you key your hashtables from a strong RNG, such
-/// as [`rand::Rng`](https://doc.rust-lang.org/rand/rand/trait.Rng.html).
+/// hashing. This lets you key your hashtables from a strong RNG, such as
+/// [`rand::os::OsRng`](https://doc.rust-lang.org/rand/rand/os/struct.OsRng.html).
 ///
 /// Although the SipHash algorithm is considered to be generally strong,
 /// it is not intended for cryptographic purposes. As such, all