IntoSystemConfigs::chain_ignore_deferred's return type fix (#13919)

# Objective

Fixes #13917 

## Solution

Changed `IntoSystemSetConfigs::chain_ignore_deferred`'s return type from
`SystemConfigs` to `SystemSetConfigs`

## Testing

Tried to run the `ecs_guide` example, where `chain` method is replaced
by `chain_ignore_deferred` method

---
This commit is contained in:
Jenya705 2024-06-19 00:21:58 +02:00 committed by GitHub
parent 1b0475f234
commit 6b2d4834e9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -650,7 +650,7 @@ where
/// Ordering constraints will be applied between the successive elements.
///
/// Unlike [`chain`](Self::chain) this will **not** add [`apply_deferred`](crate::schedule::apply_deferred) on the edges.
fn chain_ignore_deferred(self) -> SystemConfigs {
fn chain_ignore_deferred(self) -> SystemSetConfigs {
self.into_configs().chain_ignore_deferred()
}
}
@ -721,6 +721,10 @@ impl IntoSystemSetConfigs for SystemSetConfigs {
fn chain(self) -> Self {
self.chain_inner()
}
fn chain_ignore_deferred(self) -> Self {
self.chain_ignore_deferred_inner()
}
}
impl<S: SystemSet> IntoSystemSetConfigs for S {