From bac593278bcac07cac468c0211dcc542be6e9b88 Mon Sep 17 00:00:00 2001 From: Gunter Labes Date: Thu, 19 Jan 2023 13:15:39 +0100 Subject: [PATCH] typo fix (#61) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3742f48..ced2672 100644 --- a/README.md +++ b/README.md @@ -181,7 +181,7 @@ end 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: ``` lua