bikeshedder / deadpool

Dead simple pool implementation for rust with async-await
Apache License 2.0
1.08k stars 137 forks source link

Add test for `Sync` trait on `Pool::get()` #334

Closed samchouse closed 5 months ago

samchouse commented 5 months ago

Not exactly sure what the best way to test for this is but this is what I came up with.

Based on https://github.com/bikeshedder/deadpool/issues/333#issuecomment-2173147623