summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--script/core/diagnostics/redundant-return.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/diagnostics/redundant-return.lua b/script/core/diagnostics/redundant-return.lua
index b76d8efa..486db6cd 100644
--- a/script/core/diagnostics/redundant-return.lua
+++ b/script/core/diagnostics/redundant-return.lua
@@ -3,7 +3,7 @@ local guide = require 'parser.guide'
local lang = require 'language'
local define = require 'proto.define'
--- reports 'return' or 'return nil' at the end of functions
+-- reports 'return' without any return values at the end of functions
return function (uri, callback)
local ast = files.getState(uri)
if not ast then