unsafe fn try_copy_value_from_last_waiter(&mut self) {
        let last_waiter = self.send_waiters.remove_last();

        if !last_waiter.is_null() {
            let last_waiter = &mut(*last_waiter);
            let value = last_waiter.value.take().expect(
                "wait_node must contain value");
            self.buffer.push(value);

            last_waiter.state = SendPollState::SendComplete;

            if let Some(ref handle) = &last_waiter.task {
                handle.wake_by_ref();
            }
        }
    }
/// If there is a send waiter, copy it's value into the channel buffer and complete it.
/// The method may only be called if there is space in the receive buffer.
If there is a send waiter, copy it's value into the channel buffer and complete it.
The method may only be called if there is space in the receive buffer.
If there is a send waiter copy it ' s value into the channel buffer and complete it . The method may only be called if there is space in the receive buffer .
unsafe fn try_copy_value_from_last_waiter(&mut self) {
        let last_waiter = self.send_waiters.remove_last();
        if !last_waiter.is_null() {
            let last_waiter = &mut(*last_waiter);
            let value = last_waiter.value.take().expect(
                "wait_node must contain value");
            self.buffer.push(value);
            last_waiter.state = SendPollState::SendComplete;
            if let Some(ref handle) = &last_waiter.task {
                handle.wake_by_ref();
            }
        }
    }
unsafe fn try_copy_value_from_last_waiter ( & mut self ) { let last_waiter = self . send_waiters . remove_last ( ) ; if ! last_waiter . is_null ( ) { let last_waiter = & mut ( * last_waiter ) ; let value = last_waiter . value . take ( ) . expect ( " " ) ; self . buffer . push ( value ) ; last_waiter . state = SendPollState :: SendComplete ; if let Some ( ref handle ) = & last_waiter . task { handle . wake_by_ref ( ) ; } } }
If there is a send waiter, copy it's value into the channel buffer and complete it.
If there is a send waiter copy it ' s value into the channel buffer and complete it .
&mut self
&mut self