diff options
| author | Austin Keeley <austin.keeley@gmail.com> | 2020-09-25 00:03:59 -0400 |
|---|---|---|
| committer | Austin Keeley <austin.keeley@gmail.com> | 2020-09-25 00:03:59 -0400 |
| commit | 1d3717d17c8891db85a8316ea869a3ceca60b53d (patch) | |
| tree | a58e4b1ec7dff33cde08e1e57309bec602e83b02 | |
| parent | 9b5c98f6406acb8b86375c45b16bca51441c59dd (diff) | |
| download | rust-1d3717d17c8891db85a8316ea869a3ceca60b53d.tar.gz rust-1d3717d17c8891db85a8316ea869a3ceca60b53d.zip | |
Removing erroneous semicolon
| -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 bcbb760021e..581b6af70da 100644 --- a/library/core/src/intrinsics.rs +++ b/library/core/src/intrinsics.rs @@ -904,7 +904,7 @@ extern "rust-intrinsic" { /// 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 |
