Skip to content

Commit 22e5fde

Browse files
committed
remove must_use from <*const T>::expose_provenance
1 parent a270d44 commit 22e5fde

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

core/src/ptr/const_ptr.rs

-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,6 @@ impl<T: ?Sized> *const T {
193193
/// This is an [Exposed Provenance][crate::ptr#exposed-provenance] API.
194194
///
195195
/// [`with_exposed_provenance`]: with_exposed_provenance
196-
#[must_use]
197196
#[inline(always)]
198197
#[stable(feature = "exposed_provenance", since = "1.84.0")]
199198
pub fn expose_provenance(self) -> usize {

0 commit comments

Comments
 (0)