Skip to content

Commit 2976ddb

Browse files
committed
Fix a spelling error in HashMap documentation, and slightly reword it to be more precise.
1 parent a559452 commit 2976ddb

File tree

1 file changed

+2
-2
lines changed
  • src/libstd/collections/hash

1 file changed

+2
-2
lines changed

Diff for: src/libstd/collections/hash/map.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -222,8 +222,8 @@ const DISPLACEMENT_THRESHOLD: usize = 128;
222222
/// resistance against HashDoS attacks. The algorithm is randomly seeded, and a
223223
/// reasonable best-effort is made to generate this seed from a high quality,
224224
/// secure source of randomness provided by the host without blocking the
225-
/// program. Because of this, the randomness of the seed is dependant on the
226-
/// quality of the system's random number generator at the time it is created.
225+
/// program. Because of this, the randomness of the seed depends on the output
226+
/// quality of the system's random number generator when the seed is created.
227227
/// In particular, seeds generated when the system's entropy pool is abnormally
228228
/// low such as during system boot may be of a lower quality.
229229
///

0 commit comments

Comments
 (0)