Removing erroneous semicolon

This commit is contained in:
Austin Keeley 2020-09-25 00:03:59 -04:00
parent 9b5c98f640
commit 1d3717d17c
1 changed files with 1 additions and 1 deletions

View File

@ -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