Skip to content

Commit 2c51d13

Browse files
authored
Merge pull request kodecocodes#447 from LucyJeong/master
Change modified method name
2 parents 6bac9b1 + d79a076 commit 2c51d13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Hash Table/README.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ The code to insert a new element or update an existing element lives in `updateV
202202
let index = self.index(forKey: key)
203203

204204
// Do we already have this key in the bucket?
205-
for (i, element) in buckets[index].enumerate() {
205+
for (i, element) in buckets[index].enumerated() {
206206
if element.key == key {
207207
let oldValue = element.value
208208
buckets[index][i].value = value

0 commit comments

Comments
 (0)