ikatson / rqbit

A bittorrent client in Rust
Other
831 stars 80 forks source link

[Refactor] Re-use code in "merge_streams" #240

Closed ikatson closed 1 month ago

ikatson commented 1 month ago

We already have a create tokio_stream which has a function to merge 2 streams (which is almost identical to ours) - so remove the custom implementation.