Skip to content

Commit 1d3717d

Browse files
committed
Removing erroneous semicolon
1 parent 9b5c98f commit 1d3717d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: library/core/src/intrinsics.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -904,7 +904,7 @@ extern "rust-intrinsic" {
904904
/// let raw_bytes = [0x78, 0x56, 0x34, 0x12];
905905
///
906906
/// let num = unsafe {
907-
/// std::mem::transmute::<[u8; 4], u32>(raw_bytes);
907+
/// std::mem::transmute::<[u8; 4], u32>(raw_bytes)
908908
/// };
909909
///
910910
/// // use `u32::from_ne_bytes` instead

0 commit comments

Comments
 (0)