Fixed docs syntax for for-in loop in painless
This commit is contained in:
parent
5bfb98ade4
commit
9f08a553d9
|
@ -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) {
|
||||
...
|
||||
}
|
||||
---------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue