fix(apb): dyn link is Sync and Send
This commit is contained in:
parent
2e8d4323ee
commit
96462648ce
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
||||||
pub enum Node<T : super::Base> {
|
pub enum Node<T : super::Base> {
|
||||||
Array(Vec<T>), // TODO would be cool to make it Box<[T]> so that Node is just a ptr
|
Array(Vec<T>), // TODO would be cool to make it Box<[T]> so that Node is just a ptr
|
||||||
Object(Box<T>),
|
Object(Box<T>),
|
||||||
Link(Box<dyn super::Link>),
|
Link(Box<dyn super::Link + Sync + Send>), // TODO feature flag to toggle these maybe?
|
||||||
Empty,
|
Empty,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue