revert making internal APIs const fn.
This commit is contained in:
parent
d1d2aa22c0
commit
e15c62d61f
28 changed files with 47 additions and 47 deletions
|
@ -2759,7 +2759,7 @@ impl<T: ?Sized> Unique<T> {
|
|||
}
|
||||
|
||||
/// Acquires the underlying `*mut` pointer.
|
||||
pub const fn as_ptr(self) -> *mut T {
|
||||
pub fn as_ptr(self) -> *mut T {
|
||||
self.pointer.0 as *mut T
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue