Skip to content

Commit

Permalink
Removing erroneous semicolon
Browse files Browse the repository at this point in the history
  • Loading branch information
austinkeeley committed Sep 25, 2020
1 parent 9b5c98f commit 1d3717d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/src/intrinsics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1d3717d

Please sign in to comment.