Fixed docs syntax for for-in loop in painless

This commit is contained in:
Clinton Gormley 2017-05-05 16:06:48 +02:00
parent 5bfb98ade4
commit 9f08a553d9
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ In addition to Java's `enhanced for` loop, the `for in` syntax from groovy can a
[source,painless]
---------------------------------------------------------
for (item : list) {
for (def item : list) {
...
}
---------------------------------------------------------