1
Fork 0

Auto merge of #24970 - Hech:master, r=steveklabnik

This commit is contained in:
bors 2015-04-30 07:12:25 +00:00
commit b594036069

View file

@ -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 one type as though it were another type. It does this regardless of the
typechecking system, and just completely trusts you. 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` 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`, properly, and so we want to do the cast. Using `transmute` instead of `as`,