From 9e709c1ce18451432a28dbcad1bb00fcf0e9d0b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20P?= Date: Thu, 2 Jun 2022 19:47:20 +0200 Subject: [PATCH] Update rust.md "or" binary operator is not `OR` but `||` --- rust.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust.md b/rust.md index 612a9bb..0258198 100644 --- a/rust.md +++ b/rust.md @@ -408,7 +408,7 @@ let left_shift = h << 4; // => 32 | Example | Meaning | |----------------|------------------------| | `c && d` | Both are true _(AND)_ | -| `c OR d` | Either is true _(OR)_ | +| `c || d` | Either is true _(OR)_ | | `!c` | `c` is false _(NOT)_ | ------