Skip to content

Commit 3bff6f2

Browse files
fix: replace clone with close (#29)
1 parent 8d2532f commit 3bff6f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/wiki/diagnostics.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ The strict group contains diagnostics considered "strict". These can help you wr
384384

385385
<Diagnostic level="Warning">
386386
<Fragment slot="name">
387-
### clone-non-object
387+
### close-non-object
388388
</Fragment>
389389
Triggered when attempting to [close a variable](https://www.lua.org/manual/5.4/manual.html#3.3.8) with a non-object. The value of the variable must be an object with the `__close` metamethod (a Lua 5.4 feature).
390390

0 commit comments

Comments
 (0)