Skip to content

Commit

Permalink
fix CI warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ibraheemdev committed Nov 7, 2024
1 parent 11ddee5 commit af5a80d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/raw/utils/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ use std::sync::atomic::{AtomicIsize, AtomicPtr, Ordering};

// Polyfill for the unstable strict-provenance APIs.
#[allow(clippy::missing_safety_doc)]
#[allow(dead_code)] // `strict_provenance` has stabilized on nightly.
pub unsafe trait StrictProvenance<T>: Sized {
fn addr(self) -> usize;
fn map_addr(self, f: impl FnOnce(usize) -> usize) -> Self;
Expand Down

0 comments on commit af5a80d

Please sign in to comment.