Skip to content

Commit cbddd5e

Browse files
committed
tutorial: Remove some trivia about operators
1 parent 2f615dc commit cbddd5e

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

doc/tutorial.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -371,11 +371,6 @@ let y: uint = x as uint;
371371
assert y == 4u;
372372
~~~~
373373

374-
The main difference with C is that `++` and `--` are missing, and that
375-
the logical bitwise operators have higher precedence—in C, `x & 2 > 0`
376-
means `x & (2 > 0)`, but in Rust, it means `(x & 2) > 0`, which is
377-
more likely to be what a novice expects.
378-
379374
## Syntax extensions
380375

381376
*Syntax extensions* are special forms that are not built into the language,

0 commit comments

Comments
 (0)