From 8ae67fb1fd4ed21346a7afd8767dd634344b39ee Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sat, 14 Nov 2020 22:22:46 +0100 Subject: util.error: Remove a stray word from a comment Earlier in the process the namespace could be given in the registry table, the comment would have read > registry can be given as second argument if namespace is either not > used or is given in the registry table The word seems to have been left when this method was scrapped for being complicated and redundant. --- util/error.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util') diff --git a/util/error.lua b/util/error.lua index 85265e47..ed3ef4f4 100644 --- a/util/error.lua +++ b/util/error.lua @@ -91,7 +91,7 @@ end local function init(source, namespace, registry) if type(namespace) == "table" then - -- registry can be given as second argument if namespace is either not used + -- registry can be given as second argument if namespace is not used registry, namespace = namespace, nil; end local _, protoerr = next(registry, nil); -- cgit v1.2.3