[DOCS] Correct `for in` example in Painless docs (#49991)

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
1 changed files with 1 additions and 1 deletions

View File

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