]> git.proxmox.com Git - rustc.git/blobdiff - src/doc/reference/src/expressions/operator-expr.md
New upstream version 1.41.1+dfsg1
[rustc.git] / src / doc / reference / src / expressions / operator-expr.md
index 3635cc03285dcba2cefca4185b64f5e487dc07b9..b0f8c017eb71a4cd02951bf9e5fc32ed96ae6f1a 100644 (file)
@@ -260,7 +260,9 @@ functions and macros in the standard library can then use that assumption
 above, these operators implicitly take shared borrows of their operands,
 evaluating them in [place expression context][place expression]:
 
-```rust,ignore
+```rust
+# let a = 1;
+# let b = 1;
 a == b;
 // is equivalent to
 ::std::cmp::PartialEq::eq(&a, &b);