diff --git a/src/dbghelp.rs b/src/dbghelp.rs index 9f94f214..5c298591 100644 --- a/src/dbghelp.rs +++ b/src/dbghelp.rs @@ -114,9 +114,7 @@ macro_rules! dbghelp { })* pub fn dbghelp(&self) -> *mut Dbghelp { - unsafe { - ptr::addr_of_mut!(DBGHELP) - } + ptr::addr_of_mut!(DBGHELP) } } )