about summary refs log tree commit diff
path: root/library/core/src
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2025-03-11 14:42:47 +0100
committerRalf Jung <post@ralfj.de>2025-03-11 14:42:47 +0100
commitb06a1364f443e7edbfeba1b899a91031077c10b7 (patch)
tree8ab0a0b0ab800f6daa69014f1091fb8cb3841b9a /library/core/src
parent705421b52239d7393b4738764b192179d5c139c2 (diff)
downloadrust-b06a1364f443e7edbfeba1b899a91031077c10b7.tar.gz
rust-b06a1364f443e7edbfeba1b899a91031077c10b7.zip
remove must_use from <*const T>::expose_provenance
Diffstat (limited to 'library/core/src')
-rw-r--r--library/core/src/ptr/const_ptr.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/library/core/src/ptr/const_ptr.rs b/library/core/src/ptr/const_ptr.rs
index 9a4f916803e..7d0839aff3f 100644
--- a/library/core/src/ptr/const_ptr.rs
+++ b/library/core/src/ptr/const_ptr.rs
@@ -193,7 +193,6 @@ impl<T: ?Sized> *const T {
     /// This is an [Exposed Provenance][crate::ptr#exposed-provenance] API.
     ///
     /// [`with_exposed_provenance`]: with_exposed_provenance
-    #[must_use]
     #[inline(always)]
     #[stable(feature = "exposed_provenance", since = "1.84.0")]
     pub fn expose_provenance(self) -> usize {