Rename `get_pinned_mut` to `get_pin_mut`
@@ -34,7 +34,7 @@ impl<Si, F> SinkMapErr<Si, F> {
/// Get a pinned reference to the inner sink.
#[allow(needless_lifetimes)] // https://github.com/rust-lang/rust/issues/52675
- pub fn get_pinned_mut(self: PinMut<'a, Self>) -> PinMut<'a, Si> {
+ pub fn get_pin_mut(self: PinMut<'a, Self>) -> PinMut<'a, Si> {
unsafe { PinMut::map_unchecked(self, |x| &mut x.sink) }
}
