Skip to content

Commit 3611bf7

Browse files
committed
---
yaml --- r: 15846 b: refs/heads/try c: b329e1c h: refs/heads/master v: v3
1 parent 1c2179c commit 3611bf7

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
@@ -2,5 +2,5 @@
22
refs/heads/master: 61b1875c16de39c166b0f4d54bba19f9c6777d1a
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5-
refs/heads/try: 9e4fb320dab8c3556d29fbcd0a3af43facf08bae
5+
refs/heads/try: b329e1c719164c3d69aa840b4da12e1920b75f4b
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

branches/try/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)