remove unnecessary unsafe impl of Send+Sync for ParallelSystemContainer (#5137)

`ParallelSystemContainer` has no `!Send` or `!Sync` fields, so it doesn't need unsafe impls of these traits.
This commit is contained in:
Jakob Hellermann 2022-06-29 15:44:33 +00:00
parent 7d55414652
commit 5b5660ea08

View File

@ -117,9 +117,6 @@ pub struct ParallelSystemContainer {
ambiguity_sets: Vec<BoxedAmbiguitySetLabel>,
}
unsafe impl Send for ParallelSystemContainer {}
unsafe impl Sync for ParallelSystemContainer {}
impl ParallelSystemContainer {
pub(crate) fn from_descriptor(descriptor: ParallelSystemDescriptor) -> Self {
ParallelSystemContainer {