diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2025-04-23 11:36:09 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2025-04-23 11:36:09 -0300 |
| commit | 9b014d4bcd4ebadb523f1c1a1d38148d8526e5ed (patch) | |
| tree | 50d7ec68ff36d2fa017b970b11985c6cce5861aa /testes/nextvar.lua | |
| parent | 50fd8d03c33bbe52ac5b34c4eb748197b349cedd (diff) | |
| download | lua-9b014d4bcd4ebadb523f1c1a1d38148d8526e5ed.tar.gz lua-9b014d4bcd4ebadb523f1c1a1d38148d8526e5ed.tar.bz2 lua-9b014d4bcd4ebadb523f1c1a1d38148d8526e5ed.zip | |
Details (typos in comments)
Diffstat (limited to 'testes/nextvar.lua')
| -rw-r--r-- | testes/nextvar.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testes/nextvar.lua b/testes/nextvar.lua index 031ad3fd..679cb1e4 100644 --- a/testes/nextvar.lua +++ b/testes/nextvar.lua | |||
| @@ -227,7 +227,7 @@ for i = 1,lim do | |||
| 227 | end | 227 | end |
| 228 | 228 | ||
| 229 | 229 | ||
| 230 | -- insert and delete elements until a rehash occurr. Caller must ensure | 230 | -- insert and delete elements until a rehash occur. Caller must ensure |
| 231 | -- that a rehash will change the shape of the table. Must repeat because | 231 | -- that a rehash will change the shape of the table. Must repeat because |
| 232 | -- the insertion may collide with the deleted element, and then there is | 232 | -- the insertion may collide with the deleted element, and then there is |
| 233 | -- no rehash. | 233 | -- no rehash. |
| @@ -349,7 +349,7 @@ a,b,c = 1,2,3 | |||
| 349 | a,b,c = nil | 349 | a,b,c = nil |
| 350 | 350 | ||
| 351 | 351 | ||
| 352 | -- next uses always the same iteraction function | 352 | -- next uses always the same iteration function |
| 353 | assert(next{} == next{}) | 353 | assert(next{} == next{}) |
| 354 | 354 | ||
| 355 | local function find (name) | 355 | local function find (name) |
