Removing erroneous semicolon
This commit is contained in:
parent
9b5c98f640
commit
1d3717d17c
1 changed files with 1 additions and 1 deletions
|
@ -904,7 +904,7 @@ extern "rust-intrinsic" {
|
||||||
/// let raw_bytes = [0x78, 0x56, 0x34, 0x12];
|
/// let raw_bytes = [0x78, 0x56, 0x34, 0x12];
|
||||||
///
|
///
|
||||||
/// let num = unsafe {
|
/// 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
|
/// // use `u32::from_ne_bytes` instead
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue