aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rwxr-xr-xdoc/docs/doc/README.md6
1 files changed, 2 insertions, 4 deletions
diff --git a/doc/docs/doc/README.md b/doc/docs/doc/README.md
index 89bd643..c4518bf 100755
--- a/doc/docs/doc/README.md
+++ b/doc/docs/doc/README.md
@@ -2096,13 +2096,11 @@ doubled = [item * 2 for i, item in ipairs items]
2096The items included in the new table can be restricted with a when clause: 2096The items included in the new table can be restricted with a when clause:
2097 2097
2098```moonscript 2098```moonscript
2099iter = ipairs items 2099slice = [item for i, item in ipairs items when i > 1 and i < 3]
2100slice = [item for i, item in iter when i > 1 and i < 3]
2101``` 2100```
2102<YueDisplay> 2101<YueDisplay>
2103<pre> 2102<pre>
2104iter = ipairs items 2103slice = [item for i, item in ipairs items when i > 1 and i < 3]
2105slice = [item for i, item in iter when i > 1 and i < 3]
2106</pre> 2104</pre>
2107</YueDisplay> 2105</YueDisplay>
2108 2106