Skip to content

Commit

Permalink
deploy: 8f47168
Browse files Browse the repository at this point in the history
  • Loading branch information
Kampfkarren committed Sep 29, 2023
1 parent a74db2b commit 8165fb4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions lints/manual_table_clone.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ <h2 id="remarks"><a class="header" href="#remarks">Remarks</a></h2>
<li>Any usage of the output variable in between the definition and the loop (as determined by position in code).</li>
<li>If the input variable is not a plain locally initialized variable. For example, <code>self.state[key] = value</code> will not lint.</li>
<li>If the input variable is not defined as a completely empty table.</li>
<li>If the loop and input variable are defined at different depths.</li>
</ul>
<hr />
<p>The detected looping patterns are <code>pairs(t)</code>, <code>ipairs(t)</code>, <code>next, t</code>, and <code>t</code> (Luau generalized iteration). If <code>ipairs</code> is used, <code>table.clone</code> is not an exact match if the table is not exclusively an array. For example:</p>
Expand Down
1 change: 1 addition & 0 deletions print.html
Original file line number Diff line number Diff line change
Expand Up @@ -1084,6 +1084,7 @@ <h2 id="remarks-5"><a class="header" href="#remarks-5">Remarks</a></h2>
<li>Any usage of the output variable in between the definition and the loop (as determined by position in code).</li>
<li>If the input variable is not a plain locally initialized variable. For example, <code>self.state[key] = value</code> will not lint.</li>
<li>If the input variable is not defined as a completely empty table.</li>
<li>If the loop and input variable are defined at different depths.</li>
</ul>
<hr />
<p>The detected looping patterns are <code>pairs(t)</code>, <code>ipairs(t)</code>, <code>next, t</code>, and <code>t</code> (Luau generalized iteration). If <code>ipairs</code> is used, <code>table.clone</code> is not an exact match if the table is not exclusively an array. For example:</p>
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion searchindex.json

Large diffs are not rendered by default.

0 comments on commit 8165fb4

Please sign in to comment.