diff --git a/docs/_pages/lint.md b/docs/_pages/lint.md index fd254b92..ff677829 100644 --- a/docs/_pages/lint.md +++ b/docs/_pages/lint.md @@ -145,7 +145,7 @@ In some cases the linter can detect code that is never executed, because all exe ```lua function cbrt(v) if v >= 0 then - return v ^ 1/3 + return v ^ (1/3) else error('cbrt expects a non-negative argument') end