Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit e8527cd

Browse files
workingjubileejoboet
andauthoredJul 16, 2024
std: unwrapped unsafe is VERBOTEN!
Co-authored-by: Jonas Böttiger <jonasboettiger@icloud.com>
1 parent d59f862 commit e8527cd

File tree

1 file changed

+1
-1
lines changed
  • std/src/sys/personality/dwarf

1 file changed

+1
-1
lines changed
 

‎std/src/sys/personality/dwarf/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ pub struct DwarfReader {
1717
pub ptr: *const u8,
1818
}
1919

20-
#[deny(unsafe_op_in_unsafe_fn)]
20+
#[forbid(unsafe_op_in_unsafe_fn)]
2121
impl DwarfReader {
2222
pub fn new(ptr: *const u8) -> DwarfReader {
2323
DwarfReader { ptr }

0 commit comments

Comments
 (0)
Failed to load comments.