We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 741ab83 commit 731f6bcCopy full SHA for 731f6bc
src/lib.rs
@@ -293,6 +293,9 @@ pub struct SmallVec<T, const N: usize> {
293
_marker: PhantomData<T>,
294
}
295
296
+unsafe impl<T: Send, const N: usize> Send for SmallVec<T, N> {}
297
+unsafe impl<T: Sync, const N: usize> Sync for SmallVec<T, N> {}
298
+
299
/// An iterator that removes the items from a `SmallVec` and yields them by value.
300
///
301
/// Returned from [`SmallVec::drain`][1].
0 commit comments