We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6bac9b1 + d79a076 commit 2c51d13Copy full SHA for 2c51d13
Hash Table/README.markdown
@@ -202,7 +202,7 @@ The code to insert a new element or update an existing element lives in `updateV
202
let index = self.index(forKey: key)
203
204
// Do we already have this key in the bucket?
205
- for (i, element) in buckets[index].enumerate() {
+ for (i, element) in buckets[index].enumerated() {
206
if element.key == key {
207
let oldValue = element.value
208
buckets[index][i].value = value
0 commit comments