diff options
| author | Steve Klabnik <steve@steveklabnik.com> | 2015-03-08 10:35:58 -0400 |
|---|---|---|
| committer | Steve Klabnik <steve@steveklabnik.com> | 2015-03-08 10:35:58 -0400 |
| commit | 1014b22b317b3afbe211dbc0e1b00045a0e9c76f (patch) | |
| tree | c46ffbf30e9cb78396400b51cdb4ddec20293259 /src/doc/reference.md | |
| parent | b2f09c1165db805ed00707257dd94bb309faf0fe (diff) | |
| download | rust-1014b22b317b3afbe211dbc0e1b00045a0e9c76f.tar.gz rust-1014b22b317b3afbe211dbc0e1b00045a0e9c76f.zip | |
remove confusing language about casting types
Fixes #17481
Diffstat (limited to 'src/doc/reference.md')
| -rw-r--r-- | src/doc/reference.md | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/doc/reference.md b/src/doc/reference.md index a772d98583e..a0428450a37 100644 --- a/src/doc/reference.md +++ b/src/doc/reference.md @@ -3007,10 +3007,6 @@ A type cast expression is denoted with the binary operator `as`. Executing an `as` expression casts the value on the left-hand side to the type on the right-hand side. -A numeric value can be cast to any numeric type. A raw pointer value can be -cast to or from any integral type or raw pointer type. Any other cast is -unsupported and will fail to compile. - An example of an `as` expression: ``` |
