Use local path for already-imported function
This module has `use super::*;` at the top. Co-authored-by: Oli Scherer <github35764891676564198441@oli-obk.de>
This commit is contained in:
parent
cf000f0408
commit
cac71bf809
@ -56,7 +56,7 @@ pub const fn cast<U>(self) -> *const U {
|
||||
#[rustc_const_unstable(feature = "ptr_metadata", issue = "81513")]
|
||||
#[inline]
|
||||
pub const fn to_raw_parts(self) -> (*const (), <T as super::Pointee>::Metadata) {
|
||||
(self.cast(), super::metadata(self))
|
||||
(self.cast(), metadata(self))
|
||||
}
|
||||
|
||||
/// Returns `None` if the pointer is null, or else returns a shared reference to
|
||||
|
Loading…
Reference in New Issue
Block a user