Diff

util/error.lua @ 11207:4e060ae8520b

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.
author Kim Alvefur <zash@zash.se>
date Sat, 14 Nov 2020 22:22:46 +0100
parent 11161:f51ed2652602
child 11221:b0a563716334
line wrap: on
line diff
--- 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);