Skip to content

Commit 09d6fa7

Browse files
committed
Remove unnecessary unsafe block
1 parent 616391e commit 09d6fa7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cortex-m-rt/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1079,7 +1079,7 @@ pub fn heap_start() -> *mut u32 {
10791079
static mut __sheap: u32;
10801080
}
10811081

1082-
unsafe { core::ptr::addr_of_mut!(__sheap) }
1082+
core::ptr::addr_of_mut!(__sheap)
10831083
}
10841084

10851085
// Entry point is Reset.

0 commit comments

Comments
 (0)