Add support for NonNull in ambiguous_wide_ptr_comparisions
This commit is contained in:
parent
af4a5a13a1
commit
16d11c539f
5 changed files with 139 additions and 65 deletions
|
@ -243,6 +243,7 @@ where
|
|||
T: Tag,
|
||||
{
|
||||
#[inline]
|
||||
#[allow(ambiguous_wide_pointer_comparisons)]
|
||||
fn eq(&self, other: &Self) -> bool {
|
||||
self.packed == other.packed
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue