Impl Sync/Send for Rawlink
This commit is contained in:
parent
d35ebcb483
commit
84a6684c65
@ -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>,
|
||||
|
Loading…
Reference in New Issue
Block a user