Skip to content

Commit fba809d

Browse files
committed
Less bad style
1 parent c7d957c commit fba809d

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/backtrace/dbghelp32.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
//! Note that all dbghelp support is loaded dynamically, see `src/dbghelp.rs`
1010
//! for more information about that.
1111
12-
#![allow(bad_style)]
13-
1412
use super::super::{dbghelp, windows_sys::*};
1513
use core::ffi::c_void;
1614
use core::mem;
@@ -119,6 +117,7 @@ pub unsafe fn trace(cb: &mut dyn FnMut(&super::Frame) -> bool) {
119117
// Attempt to use `StackWalkEx` if we can, but fall back to `StackWalk64`
120118
// since it's in theory supported on more systems.
121119
match (*dbghelp.dbghelp()).StackWalkEx() {
120+
#[allow(non_snake_case)]
122121
Some(StackWalkEx) => {
123122
let mut inner: STACKFRAME_EX = mem::zeroed();
124123
inner.StackFrameSize = mem::size_of::<STACKFRAME_EX>() as u32;

src/backtrace/win64.rs

-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
//! We still report inlined frames during symbolization by consulting the appropriate
77
//! `dbghelp` functions.
88
9-
#![allow(bad_style)]
10-
119
use super::super::windows_sys::*;
1210
use core::ffi::c_void;
1311

0 commit comments

Comments
 (0)