util.error: Remove a stray word from a comment
authorKim Alvefur <zash@zash.se>
Sat, 14 Nov 2020 22:22:46 +0100
changeset 11211 4e060ae8520b
parent 11210 f051394762ff
child 11212 96429946a742
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
--- a/util/error.lua	Wed Nov 11 16:09:55 2020 +0100
+++ b/util/error.lua	Sat Nov 14 22:22:46 2020 +0100
@@ -91,7 +91,7 @@
 
 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);