summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2017-02-15 23:48:17 -0500
committerGitHub <noreply@github.com>2017-02-15 23:48:17 -0500
commit35bf74b0ced2c12247737dc68360f6a9f40a4127 (patch)
tree3617e6e17bef0b7a94edf78a44bacf0b62592fa3 /src/libstd
parent46564d405c735de4768d72a725b8204ec50d64c7 (diff)
parent5156dedec88a94191eec9e629c93c8e58b71f44f (diff)
downloadrust-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.rs2
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,