Skip to content

Commit

Permalink
conflicts merged
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhvani-Kapadia committed Nov 19, 2024
2 parents 7b7ec2f + a27cf5e commit 78d7894
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion library/core/src/ptr/non_null.rs
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,6 @@ impl<T: ?Sized> NonNull<T> {
#[must_use]
#[inline]
#[stable(feature = "strict_provenance", since = "CURRENT_RUSTC_VERSION")]
// #[requires(addr.get() != 0)]
#[ensures(|result: &Self|
!result.as_ptr().is_null() &&
result.addr() == addr )]
Expand Down

0 comments on commit 78d7894

Please sign in to comment.