Skip to content

Commit 44f8a8e

Browse files
committed
manual: remove 'trivial cast', it's an unused definition.
1 parent 1d47c0a commit 44f8a8e

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

doc/rust.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1780,11 +1780,6 @@ fn avg(v: ~[float]) -> float {
17801780
}
17811781
~~~~
17821782

1783-
A cast is a *trivial cast* iff the type of the casted expression and the
1784-
target type are identical after replacing all occurrences of `int`, `uint`,
1785-
`float` with their machine type equivalents of the target architecture in both
1786-
types.
1787-
17881783

17891784
#### Binary move expressions
17901785

0 commit comments

Comments
 (0)