From 66959be69ecdf3098dbe3d03d9ed261f35ea1803 Mon Sep 17 00:00:00 2001 From: riverbuilding Date: Mon, 30 Dec 2019 08:48:10 -0500 Subject: [PATCH] [DOCS] Correct Painless operator typos (#50472) --- .../painless-lang-spec/painless-operators-numeric.asciidoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/painless/painless-lang-spec/painless-operators-numeric.asciidoc b/docs/painless/painless-lang-spec/painless-operators-numeric.asciidoc index 22c2f04d50677..80fedd6e9b69c 100644 --- a/docs/painless/painless-lang-spec/painless-operators-numeric.asciidoc +++ b/docs/painless/painless-lang-spec/painless-operators-numeric.asciidoc @@ -1204,7 +1204,7 @@ The following table illustrates the resultant bit from the xoring of two bits. [source,ANTLR4] ---- -bitwise_and: expression '^' expression; +bitwise_xor: expression '^' expression; ---- *Promotion* @@ -1284,7 +1284,7 @@ The following table illustrates the resultant bit from the oring of two bits. [source,ANTLR4] ---- -bitwise_and: expression '|' expression; +bitwise_or: expression '|' expression; ---- *Promotion* @@ -1336,4 +1336,4 @@ def y = x ^ 8; <2> implicit cast `def` to `int 7`; bitwise or `int 7` and `int 8` -> `int 15`; implicit cast `int 15` to `def` -> `def`; - store `def` to `y` \ No newline at end of file + store `def` to `y`