Skip to content

Commit

Permalink
std: unwrapped unsafe is VERBOTEN!
Browse files Browse the repository at this point in the history
Co-authored-by: Jonas Böttiger <jonasboettiger@icloud.com>
  • Loading branch information
workingjubilee and joboet authored Jul 16, 2024
1 parent d59f862 commit e8527cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/src/sys/personality/dwarf/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pub struct DwarfReader {
pub ptr: *const u8,
}

#[deny(unsafe_op_in_unsafe_fn)]
#[forbid(unsafe_op_in_unsafe_fn)]
impl DwarfReader {
pub fn new(ptr: *const u8) -> DwarfReader {
DwarfReader { ptr }
Expand Down

0 comments on commit e8527cd

Please sign in to comment.