Skip to content

Commit

Permalink
Misleading incorrect for in loop. (#27195)
Browse files Browse the repository at this point in the history
  • Loading branch information
zarucki authored and talevy committed Oct 31, 2017
1 parent 8bbedf5 commit 7993de5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/painless/painless-syntax.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Painless also supports the `for in` syntax from Groovy:

[source,painless]
---------------------------------------------------------
for (item : list) {
for (def item : list) {
...
}
---------------------------------------------------------
Expand Down

0 comments on commit 7993de5

Please sign in to comment.