typo fix (#61)

This commit is contained in:
Gunter Labes 2023-01-19 13:15:39 +01:00 committed by GitHub
parent 9c8a68da30
commit bac593278b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -181,7 +181,7 @@ end
assert(inspect(t, {process = remove_mt}) == "{ 1, 2, 3 }") assert(inspect(t, {process = remove_mt}) == "{ 1, 2, 3 }")
``` ```
The previous exaple only works for a particular metatable. If you want to make *all* metatables, you can use the `path` parameter to check The previous example only works for a particular metatable. If you want to make *all* metatables, you can use the `path` parameter to check
wether the last element is `inspect.METATABLE`, and return `nil` instead of the item: wether the last element is `inspect.METATABLE`, and return `nil` instead of the item:
``` lua ``` lua