Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit e711376

Browse files
committed
Fix typo
1 parent eec97ee commit e711376

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/Table.lua

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,7 @@ end
441441
* Returns a copy of the table with the indexes reversed.
442442
*
443443
* @since 1.5.0
444+
* @updated 1.5.1
444445
*
445446
* @param {table} self - The target table
446447
*
@@ -449,9 +450,9 @@ end
449450
function table.reverse(self)
450451
local r = {}
451452

452-
for i, v in ipairs(self)
453+
for i, v in ipairs(self) do
453454
r[#self - i + 1] = v
454-
do
455+
end
455456

456457
return r
457458
end

0 commit comments

Comments
 (0)