From 61cc27faec77a492030b6d526efbc5b476507053 Mon Sep 17 00:00:00 2001 From: Samu Date: Mon, 11 Dec 2023 20:56:35 +0100 Subject: [PATCH] Change Binary one's complement bitwise operator #475 --- source/_posts/rust.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_posts/rust.md b/source/_posts/rust.md index 7d28a23..3a97580 100644 --- a/source/_posts/rust.md +++ b/source/_posts/rust.md @@ -386,7 +386,7 @@ let modulus: i32 = a % b; // => 4 | `g & h` | Binary AND | | `g | h` | Binary OR | | `g ^ h` | Binary XOR | -| `g ~ h` | Binary one's complement | +| `!g` | Binary one's complement | | `g << h` | Binary shift left | | `g >> h` | Binary shift right |