My guess is that this is just an oversight from some of the recent changes. I found these two lines in the source file for Vec, which seem to fit with the recent change to make Send opt-in:
unsafeimpl<T:Send>SendforVec<T>{}unsafeimpl<T:Sync>SyncforVec<T>{}But no such impl statement exists in the source file for RingBuf. Considering how similar the struct definitions are for these collections, I assume there's no reason it couldn't be implemented for RingBuf as well.
My guess is that this is just an oversight from some of the recent changes. I found these two lines in the source file for
Vec, which seem to fit with the recent change to makeSendopt-in:But no such
implstatement exists in the source file forRingBuf. Considering how similar the struct definitions are for these collections, I assume there's no reason it couldn't be implemented forRingBufas well.