docs: Wording

This commit is contained in:
Arseny Kapoulkine 2020-06-11 09:07:17 -07:00
parent b3aac63429
commit 742ec27210
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ a[foo()] = a[foo()] + 1
a[foo()] += 1
```
Compound assignments call the arithmetic metamethods (`__add` et al) and table indexing metamethods (`__index` and `__newindex`) as necessary - for custom types no extra effort is necessary to support them.
Compound assignments call the arithmetic metamethods (`__add` et al) and table indexing metamethods (`__index` and `__newindex`) as needed - for custom types no extra effort is necessary to support them.
Type annotations
================