smol-rs / async-compat

Compatibility adapter between tokio and futures
Apache License 2.0
156 stars 12 forks source link

Missing `Clone` impl for `Compat` #26

Closed evanrelf closed 5 months ago

evanrelf commented 11 months ago

I think Compat should have a Clone impl if T has a Clone impl, for example if you've used Arc from async-dup.

notgull commented 11 months ago

I would accept a PR fixing this