hyperium / h2

HTTP 2.0 client & server implementation for Rust.
MIT License
1.38k stars 279 forks source link

style: replace `split_to` and `split_off` with better alternatives #807

Closed paolobarbolini closed 3 weeks ago

paolobarbolini commented 3 weeks ago

This removes let _ = from in front of split_to and split_off and mostly follows the suggestions from the #[must_use] impls. One of the uses of split_to is instead replaced with take.