Auto merge of #24970 - Hech:master, r=steveklabnik
This commit is contained in:
commit
b594036069
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ what it does is very simple, but very scary. It tells Rust to treat a value of
|
|||
one type as though it were another type. It does this regardless of the
|
||||
typechecking system, and just completely trusts you.
|
||||
|
||||
[intrinsic]: intrinsics.html
|
||||
[intrinsics]: intrinsics.html
|
||||
|
||||
In our previous example, we know that an array of four `u8`s represents a `u32`
|
||||
properly, and so we want to do the cast. Using `transmute` instead of `as`,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue