]> git.lizzy.rs Git - rust.git/commitdiff
Removing erroneous semicolon
authorAustin Keeley <austin.keeley@gmail.com>
Fri, 25 Sep 2020 04:03:59 +0000 (00:03 -0400)
committerAustin Keeley <austin.keeley@gmail.com>
Fri, 25 Sep 2020 04:03:59 +0000 (00:03 -0400)
library/core/src/intrinsics.rs

index bcbb760021ee439f101ce5cd871132fcdf6b070b..581b6af70da617aed07b06fd5d04f9d395fd8dd8 100644 (file)
     /// let raw_bytes = [0x78, 0x56, 0x34, 0x12];
     ///
     /// let num = unsafe {
-    ///     std::mem::transmute::<[u8; 4], u32>(raw_bytes);
+    ///     std::mem::transmute::<[u8; 4], u32>(raw_bytes)
     /// };
     ///
     /// // use `u32::from_ne_bytes` instead