Changeset

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
parents 11206:f051394762ff
children 11208:96429946a742
files util/error.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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);