Skip to content

Commit c6bdab9

Browse files
authored
Rollup merge of rust-lang#39839 - king6cong:refine-doc, r=frewsxcv
make doc consistent with var name
2 parents e359698 + 5156ded commit c6bdab9

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

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

0 commit comments

Comments
 (0)