Skip to content

Commit

Permalink
Rollup merge of rust-lang#39839 - king6cong:refine-doc, r=frewsxcv
Browse files Browse the repository at this point in the history
make doc consistent with var name
  • Loading branch information
frewsxcv authored Feb 16, 2017
2 parents 46564d4 + 5156ded commit 35bf74b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/collections/hash/map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
/// 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>,
mut displacement: usize,
mut hash: SafeHash,
Expand Down

0 comments on commit 35bf74b

Please sign in to comment.