diff options
| author | Noah Lev <camelidcamel@gmail.com> | 2021-12-27 11:40:17 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-27 11:40:17 -0800 |
| commit | 60ec6a0e38dcac5ee47b138fda678ab816151ab6 (patch) | |
| tree | 646f35a14e4eeadacef80c160c4bb7b315ce1176 | |
| parent | f8abed9ed48bace6be0087bcd44ed534e239b8d8 (diff) | |
Tweak sentence in `transmute` docs
| -rw-r--r-- | library/core/src/intrinsics.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/intrinsics.rs b/library/core/src/intrinsics.rs index 4ecc3b0c7f8..acbb612352b 100644 --- a/library/core/src/intrinsics.rs +++ b/library/core/src/intrinsics.rs @@ -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]; |
