Fix a comment in my_list.xx

This commit is contained in:
krahets
2023-06-03 22:18:28 +08:00
parent d528b1ae07
commit 6377e3316a
8 changed files with 8 additions and 8 deletions
@@ -91,7 +91,7 @@ class MyList {
/* */
func extendCapacity() {
// size
// extendRatio
nums = nums + Array(repeating: 0, count: _capacity * (extendRatio - 1))
//
_capacity = nums.count