Skip to content

Commit 5156ded

Browse files
committed
make doc consistent with var name
1 parent 025c328 commit 5156ded

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

src/libstd/collections/hash/map.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ fn pop_internal<K, V>(starting_bucket: FullBucketMut<K, V>) -> (K, V) {
437437
/// Perform robin hood bucket stealing at the given `bucket`. You must
438438
/// also pass that bucket's displacement so we don't have to recalculate it.
439439
///
440-
/// `hash`, `k`, and `v` are the elements to "robin hood" into the hashtable.
440+
/// `hash`, `key`, and `val` are the elements to "robin hood" into the hashtable.
441441
fn robin_hood<'a, K: 'a, V: 'a>(bucket: FullBucketMut<'a, K, V>,
442442
mut displacement: usize,
443443
mut hash: SafeHash,

0 commit comments

Comments
 (0)