Rollup merge of #39839 - king6cong:refine-doc, r=frewsxcv
make doc consistent with var name
This commit is contained in:
commit
35bf74b0ce
|
@ -441,7 +441,7 @@ fn pop_internal<K, V>(starting_bucket: FullBucketMut<K, V>)
|
||||||
/// Perform robin hood bucket stealing at the given `bucket`. You must
|
/// Perform robin hood bucket stealing at the given `bucket`. You must
|
||||||
/// also pass that bucket's displacement so we don't have to recalculate it.
|
/// also pass that bucket's displacement so we don't have to recalculate it.
|
||||||
///
|
///
|
||||||
/// `hash`, `k`, and `v` are the elements to "robin hood" into the hashtable.
|
/// `hash`, `key`, and `val` are the elements to "robin hood" into the hashtable.
|
||||||
fn robin_hood<'a, K: 'a, V: 'a>(bucket: FullBucketMut<'a, K, V>,
|
fn robin_hood<'a, K: 'a, V: 'a>(bucket: FullBucketMut<'a, K, V>,
|
||||||
mut displacement: usize,
|
mut displacement: usize,
|
||||||
mut hash: SafeHash,
|
mut hash: SafeHash,
|
||||||
|
|
Loading…
Reference in New Issue