about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-01-12 07:12:05 +0100
committerGitHub <noreply@github.com>2022-01-12 07:12:05 +0100
commit677f8f0f4fcc3183a5331bd792759e5f53cd10c2 (patch)
tree9f45b9961353503602ac49efa30cef05a0701b57
parent72e74d7b9cf1a7901650227e74650f1fcc797600 (diff)
parent60ec6a0e38dcac5ee47b138fda678ab816151ab6 (diff)
downloadrust-677f8f0f4fcc3183a5331bd792759e5f53cd10c2.tar.gz
rust-677f8f0f4fcc3183a5331bd792759e5f53cd10c2.zip
Rollup merge of #92328 - camelid:sentence, r=scottmcm
Tweak sentence in `transmute` docs
-rw-r--r--library/core/src/intrinsics.rs2
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];