Skip to content

Commit e3db24e

Browse files
committed
Fixes warnings on Rust 1.83
1 parent 23519ee commit e3db24e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/debug.rs

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ macro_rules! debugln {
2929
/// for how to enable the debug writer.
3030
pub fn debug_writer() -> Option<&'static RefCell<Box<dyn Write>>> {
3131
// SAFETY: This is safe because the only place that write DEBUG_WRITER is our init function.
32+
#[allow(static_mut_refs)]
3233
unsafe { DEBUG_WRITER.as_ref() }
3334
}
3435

0 commit comments

Comments
 (0)