diff --git a/src/libcollections/dlist.rs b/src/libcollections/dlist.rs index de2a7307440..ee61004d199 100644 --- a/src/libcollections/dlist.rs +++ b/src/libcollections/dlist.rs @@ -43,6 +43,8 @@ struct Rawlink<T> { } impl<T> Copy for Rawlink<T> {} +unsafe impl<T:'static+Send> Send for Rawlink<T> {} +unsafe impl<T:Send+Sync> Sync for Rawlink<T> {} struct Node<T> { next: Link<T>,