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 091f712 commit 5ece9b2Copy full SHA for 5ece9b2
lib.rs
@@ -83,6 +83,9 @@ enum SmallVecData<A: Array> {
83
Heap { ptr: *mut A::Item, capacity: usize },
84
}
85
86
+unsafe impl<A: Array + Send> Send for SmallVecData<A> {}
87
+unsafe impl<A: Array + Sync> Sync for SmallVecData<A> {}
88
+
89
impl<A: Array> Drop for SmallVecData<A> {
90
fn drop(&mut self) {
91
unsafe {
0 commit comments