Removing erroneous semicolon
This commit is contained in:
parent
9b5c98f640
commit
1d3717d17c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue