David Tolnay
David Tolnay
@bors r+
@bors r+
> Is there a reason these functions aren't named `uninit`/`uninit_slice`? We discussed this suggestion in today's @rust-lang/libs-api meeting. Considering only `new`/`uninit`/`uninit_slice`, the suggested set of names makes sense. But there...
Currently this method is located in its own solitary impl block: ```rust impl { pub fn as_deref_mut(self) -> Pin Pin where Ptr: DerefMut; } ``` Some advantages: - Synergy with...
@rust-lang/libs-api: @rfcbot fcp merge [`.as_deref_mut()`](https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html#method.as_deref_mut) is like `.get_mut().as_mut()`, but without enforcing an unnecessary `Ptr: Unpin`. It is like `unsafe { .get_unchecked_mut() }.as_mut()`, but is unconditionally safe. The use case arises...
@bors r+
@bors retry
@bors retry
Rebased to resolve conflict with #58.