fix(apb): dyn link is Sync and Send

This commit is contained in:
əlemi 2024-04-13 22:08:26 +02:00
parent 2e8d4323ee
commit 96462648ce
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -3,7 +3,7 @@
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
Object(Box<T>),
Link(Box<dyn super::Link>),
Link(Box<dyn super::Link + Sync + Send>), // TODO feature flag to toggle these maybe?
Empty,
}