1
Fork 0

revert making internal APIs const fn.

This commit is contained in:
Mazdak Farrokhzad 2018-10-23 23:09:44 +02:00
parent d1d2aa22c0
commit e15c62d61f
28 changed files with 47 additions and 47 deletions

View file

@ -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
}