diff options
| author | king6cong <king6cong@gmail.com> | 2017-02-15 14:52:13 +0800 |
|---|---|---|
| committer | king6cong <king6cong@gmail.com> | 2017-02-15 14:52:13 +0800 |
| commit | 5156dedec88a94191eec9e629c93c8e58b71f44f (patch) | |
| tree | b01c35cccfe4dc2365935302a007306c62ed857a /src/libstd | |
| parent | 025c328bf5ab336ff708e62a59292298dc1bc089 (diff) | |
| download | rust-5156dedec88a94191eec9e629c93c8e58b71f44f.tar.gz rust-5156dedec88a94191eec9e629c93c8e58b71f44f.zip | |
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 ffb7a1a1fc1..e67b6060b9a 100644 --- a/src/libstd/collections/hash/map.rs +++ b/src/libstd/collections/hash/map.rs @@ -437,7 +437,7 @@ fn pop_internal<K, V>(starting_bucket: FullBucketMut<K, V>) -> (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, |
