diff options
| author | Jeff Walden <jwalden@mit.edu> | 2017-03-17 17:15:01 -0700 |
|---|---|---|
| committer | Jeff Walden <jwalden@mit.edu> | 2017-03-17 17:15:01 -0700 |
| commit | 2976ddbb1522397e3a9d91aa5ed9ae8e5cdbf97a (patch) | |
| tree | 5407e59452befe5c7d7a32a03bf354978588c658 /src/libstd | |
| parent | a559452b05c20041a27f518d262573c56b876b64 (diff) | |
| download | rust-2976ddbb1522397e3a9d91aa5ed9ae8e5cdbf97a.tar.gz rust-2976ddbb1522397e3a9d91aa5ed9ae8e5cdbf97a.zip | |
Fix a spelling error in HashMap documentation, and slightly reword it to be more precise.
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/collections/hash/map.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/collections/hash/map.rs b/src/libstd/collections/hash/map.rs index 3ca8b41347a..57332170081 100644 --- a/src/libstd/collections/hash/map.rs +++ b/src/libstd/collections/hash/map.rs @@ -222,8 +222,8 @@ const DISPLACEMENT_THRESHOLD: usize = 128; /// resistance against HashDoS attacks. The algorithm is randomly seeded, and a /// reasonable best-effort is made to generate this seed from a high quality, /// secure source of randomness provided by the host without blocking the -/// program. Because of this, the randomness of the seed is dependant on the -/// quality of the system's random number generator at the time it is created. +/// program. Because of this, the randomness of the seed depends on the output +/// quality of the system's random number generator when the seed is created. /// In particular, seeds generated when the system's entropy pool is abnormally /// low such as during system boot may be of a lower quality. /// |
