Skip to content

Commit 56734de

Browse files
committed
Silence false positive unused_unsafe lint
1 parent 9f1f0e4 commit 56734de

File tree

1 file changed

+1
-0
lines changed
  • turbopack/crates/turbo-tasks-signposter/src

1 file changed

+1
-0
lines changed

turbopack/crates/turbo-tasks-signposter/src/log.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ unsafe impl Send for Log {}
4949
impl Default for Log {
5050
fn default() -> Self {
5151
Log {
52+
#[allow(unused_unsafe)] // This is a false positive lint.
5253
os_log: unsafe { addr_of!(_os_log_default) as *const _ as *mut _ },
5354
}
5455
}

0 commit comments

Comments
 (0)