diesel icon indicating copy to clipboard operation
diesel copied to clipboard

Make ConnectionManager implement Sync automatically

Open mikeyhew opened this issue 4 years ago • 0 comments

By using PhantomData<fn() -> T> instead of PhantomData<T> for the type of the _marker field, this makes ConnectionManager implement Sync automatically, and means we can remove the unsafe impl of Sync for ConnectionManager<T>.

mikeyhew avatar Mar 06 '20 20:03 mikeyhew