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:
parent
7d55414652
commit
5b5660ea08
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user