diff options
| author | Corey Farwell <coreyf@rwell.org> | 2017-02-15 23:48:17 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-02-15 23:48:17 -0500 |
| commit | 35bf74b0ced2c12247737dc68360f6a9f40a4127 (patch) | |
| tree | 3617e6e17bef0b7a94edf78a44bacf0b62592fa3 /src/libstd | |
| parent | 46564d405c735de4768d72a725b8204ec50d64c7 (diff) | |
| parent | 5156dedec88a94191eec9e629c93c8e58b71f44f (diff) | |
| download | rust-35bf74b0ced2c12247737dc68360f6a9f40a4127.tar.gz rust-35bf74b0ced2c12247737dc68360f6a9f40a4127.zip | |
Rollup merge of #39839 - king6cong:refine-doc, r=frewsxcv
make doc consistent with var name
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/collections/hash/map.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/collections/hash/map.rs b/src/libstd/collections/hash/map.rs index ca9bdcfe2c2..45b5f7cac07 100644 --- a/src/libstd/collections/hash/map.rs +++ b/src/libstd/collections/hash/map.rs @@ -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, |
