Use ptr::eq
where applicable
#57547
Merged
ptr::eq
where applicable
#57547
ptr::eq
where applicable
#57547