Implement IntoSystemDescriptor for SystemDescriptor (#2718)
# Objective - Fixes #2716 ## Solution - Implements the the IntoSystemDescriptor trait for SystemDescriptor, which simply returns itself
This commit is contained in:
parent
958f8b124a
commit
47ccebf486
@ -60,6 +60,12 @@ where
|
||||
}
|
||||
}
|
||||
|
||||
impl IntoSystemDescriptor<()> for SystemDescriptor {
|
||||
fn into_descriptor(self) -> SystemDescriptor {
|
||||
self
|
||||
}
|
||||
}
|
||||
|
||||
impl IntoSystemDescriptor<()> for BoxedSystem<(), ()> {
|
||||
fn into_descriptor(self) -> SystemDescriptor {
|
||||
new_parallel_descriptor(self).into_descriptor()
|
||||
|
Loading…
Reference in New Issue
Block a user