general: apply clippy lints (#407)* general: update crates to 2021 edition. * general: apply clippy --fix * general: apply manual clippy lints * cargo fmt.
PollStream/PollDataChannel: flush before shutting down (#340)* PollStream/PollDataChannel: flush before shutting down "Invocation of a shutdown implies an invocation of flush. Once this method
PollStream/PollDataChannel: flush before shutting down (#340)* PollStream/PollDataChannel: flush before shutting down "Invocation of a shutdown implies an invocation of flush. Once this method returns Ready it implies that a flush successfully happened before the shutdown happened. That is, callers don’t need to call flush before calling shutdown. They can rely that by calling shutdown any pending buffered data will be written out." https://docs.rs/tokio/1.21.2/tokio/io/trait.AsyncWrite.html#tymethod.poll_shutdown * format code * fix clippy warning * fix another clippy warning * add changelog entries
show more ...
Move all to top level