From eb35463f6d787cff3cc7997f8b3378d9ec6fad02 Mon Sep 17 00:00:00 2001 From: EncodedVenom Date: Mon, 8 Jul 2024 10:02:34 -0400 Subject: [PATCH] Remove actualNoOperation and enforce style guide --- src/init.luau | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/init.luau b/src/init.luau index f16e371..6b8606f 100644 --- a/src/init.luau +++ b/src/init.luau @@ -655,14 +655,14 @@ local function get(world: World, entityId: i53, a: i53, b: i53?, c: i53?, d: i53 end end --- the less creation the better -local function actualNoOperation() end -local function noop(_self: Query, ...): () -> () - return actualNoOperation :: any +local function noop() + return nil end local EmptyQuery = { - __iter = noop, + __iter = function() + return noop + end, next = noop, replace = noop, without = function(self)