From 9fa052b65104b62b38d52defd10bee6808f9d2ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20M=C3=BCller?= Date: Tue, 14 Jan 2025 16:50:56 +0100 Subject: [PATCH] Fix markdown escape pipe character in table cell (#813) --- docs/syntax_and_semantics/operators.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/syntax_and_semantics/operators.md b/docs/syntax_and_semantics/operators.md index f59788e17..43175dc79 100644 --- a/docs/syntax_and_semantics/operators.md +++ b/docs/syntax_and_semantics/operators.md @@ -120,14 +120,14 @@ ones. | Additive | `+`, `&+`, `-`, `&-` | | Shift | `<<`, `>>` | | Binary AND | `&` | -| Binary OR/XOR | `\|`,`^` | +| Binary OR/XOR | \|,`^` | | Equality and Subsumption | `==`, `!=`, `=~`, `!~`, `===` | | Comparison | `<`, `<=`, `>`, `>=`, `<=>` | | Logical AND | `&&` | -| Logical OR | `\|\|` | +| Logical OR | \|\| | | Range | `..`, `...` | | Conditional | `?:` | -| Assignment | `=`, `[]=`, `+=`, `&+=`, `-=`, `&-=`, `*=`, `&*=`, `/=`, `//=`, `%=`, `\|=`, `&=`,`^=`,`**=`,`<<=`,`>>=`, `\|\|=`, `&&=` | +| Assignment | `=`, `[]=`, `+=`, `&+=`, `-=`, `&-=`, `*=`, `&*=`, `/=`, `//=`, `%=`, \|=, `&=`,`^=`,`**=`,`<<=`,`>>=`, \|\|=, `&&=` | | Splat | `*`, `**` | @@ -185,7 +185,7 @@ ones. | Operator | Description | Example | Overloadable | Associativity | |---|---|---|---|---| | `&` | binary AND | `1 & 2` | yes | left | -| `\|` | binary OR | `1 \| 2` | yes | left | +| \| | binary OR | 1 \| 2 | yes | left | | `^` | binary XOR | `1 ^ 2` | yes | left | ### Relational operators @@ -283,7 +283,7 @@ For instance, `a == b <= c` is equivalent to `a == b && b <= c`, while `a <= b = | Operator | Description | Example | Overloadable | Associativity | |---|---|---|---|---| | `&&` | [logical AND](and.md) | `true && false` | no | left | -| `\|\|` | [logical OR](or.md) | `true \|\| false` | no | left | +| \|\| | [logical OR](or.md) | true \|\| false | no | left | ### Range @@ -362,13 +362,13 @@ The receiver can't be anything else than a variable or call. | `/=` | division *and* assignment | `i /= 1` | no | right | | `//=` | floor division *and* assignment | `i //= 1` | no | right | | `%=` | modulo *and* assignment | `i %= 1` | yes | right | -| `\|=` | binary or *and* assignment | `i \|= 1` | no | right | +| \|= | binary or *and* assignment | i \|= 1 | no | right | | `&=` | binary and *and* assignment | `i &= 1` | no | right | | `^=` | binary xor *and* assignment | `i ^= 1` | no | right | | `**=` | exponential *and* assignment | `i **= 1` | no | right | | `<<=` | left shift *and* assignment | `i <<= 1` | no | right | | `>>=` | right shift *and* assignment | `i >>= 1` | no | right | -| `\|\|=` | logical or *and* assignment | `i \|\|= true` | no | right | +| \|\|= | logical or *and* assignment | i \|\|= true | no | right | | `&&=` | logical and *and* assignment | `i &&= true` | no | right | ### Index Accessors