Skip to content

Commit 0013da1

Browse files
committed
---
yaml --- r: 12840 b: refs/heads/master c: b329e1c h: refs/heads/master v: v3
1 parent a36664f commit 0013da1

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 9e4fb320dab8c3556d29fbcd0a3af43facf08bae
2+
refs/heads/master: b329e1c719164c3d69aa840b4da12e1920b75f4b
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf

trunk/doc/tutorial.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -471,11 +471,11 @@ The comparison operators are the traditional `==`, `!=`, `<`, `>`,
471471
`<=`, and `>=`. Short-circuiting (lazy) boolean operators are written
472472
`&&` (and) and `||` (or).
473473

474-
For type casting, Rust uses the binary `as` operator, which has a
475-
precedence between the bitwise combination operators (`&`, `|`, `^`)
476-
and the comparison operators. It takes an expression on the left side,
477-
and a type on the right side, and will, if a meaningful conversion
478-
exists, convert the result of the expression to the given type.
474+
For type casting, Rust uses the binary `as` operator, which has high
475+
precedence, just lower than multiplication and division. It takes an
476+
expression on the left side, and a type on the right side, and will,
477+
if a meaningful conversion exists, convert the result of the
478+
expression to the given type.
479479

480480
~~~~
481481
let x: float = 4.0;

0 commit comments

Comments
 (0)