[DOCS] Correct for in example in Painless docs ()

Adds a needed `def` keyword to the `for in` example in the Painless docs.
This commit is contained in:
James Rodewig 2019-12-09 11:04:20 -05:00
parent d073bccaad
commit 322dabe3de

@ -25,7 +25,7 @@ Painless also supports the `for in` syntax from Groovy:
[source,painless]
---------------------------------------------------------
for (item : list) {
for (def item : list) {
...
}
---------------------------------------------------------