Skip to content

Commit c44e881

Browse files
committed
Fix a nightly warning
1 parent 4578e94 commit c44e881

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backtrace/dbghelp.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ impl Frame {
7979
struct MyContext(CONTEXT);
8080

8181
#[inline(always)]
82-
pub unsafe fn trace(cb: &mut FnMut(&super::Frame) -> bool) {
82+
pub unsafe fn trace(cb: &mut dyn FnMut(&super::Frame) -> bool) {
8383
// Allocate necessary structures for doing the stack walk
8484
let process = GetCurrentProcess();
8585
let thread = GetCurrentThread();

0 commit comments

Comments
 (0)