Skip to content

Commit

Permalink
Allow OptionRef to be dead
Browse files Browse the repository at this point in the history
  • Loading branch information
bqqbarbhg committed Aug 2, 2024
1 parent b5a8b47 commit a22f88f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/prelude.rs
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ impl<T> Default for RawList<T> {
}

#[repr(C)]
#[allow(dead_code)] // Currently not used
pub struct OptionRef<T> {
ptr: *const T,
_marker: PhantomData<T>,
Expand Down

0 comments on commit a22f88f

Please sign in to comment.