diesel
diesel copied to clipboard
Make ConnectionManager implement Sync automatically
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>
.