mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-13 07:24:00 +00:00
Tweak sentence in transmute
docs
This commit is contained in:
parent
f8abed9ed4
commit
60ec6a0e38
@ -961,7 +961,7 @@ extern "rust-intrinsic" {
|
||||
/// Below are common applications of `transmute` which can be replaced with safer
|
||||
/// constructs.
|
||||
///
|
||||
/// Turning raw bytes(`&[u8]`) to `u32`, `f64`, etc.:
|
||||
/// Turning raw bytes (`&[u8]`) into `u32`, `f64`, etc.:
|
||||
///
|
||||
/// ```
|
||||
/// let raw_bytes = [0x78, 0x56, 0x34, 0x12];
|
||||
|
Loading…
Reference in New Issue
Block a user