bevy/crates/bevy_ecs/src/schedule
JoJoJet 3221e569e0 Remove an outdated workaround for impl Trait (#5659)
# Objective

Rust 1.63 resolved [an issue](https://github.com/rust-lang/rust/issues/83701) that prevents you from combining explicit generic arguments with `impl Trait` arguments.

Now, we no longer need to use dynamic dispatch to work around this.

## Migration Guide

The methods `Schedule::get_stage` and `get_stage_mut` now accept `impl StageLabel` instead of `&dyn StageLabel`.

### Before
```rust
let stage = schedule.get_stage_mut::<SystemStage>(&MyLabel)?;
```

### After
```rust
let stage = schedule.get_stage_mut::<SystemStage>(MyLabel)?;
```
2022-08-16 23:40:24 +00:00
..
executor.rs Make System responsible for updating its own archetypes (#4115) 2022-04-07 20:50:43 +00:00
executor_parallel.rs Make Resource trait opt-in, requiring #[derive(Resource)] V2 (#5577) 2022-08-08 21:36:35 +00:00
graph_utils.rs Fix some nightly clippy lints (#2522) 2021-07-29 19:36:39 -07:00
label.rs improve documentation for macro-generated label types (#5367) 2022-07-20 19:39:42 +00:00
mod.rs Remove an outdated workaround for impl Trait (#5659) 2022-08-16 23:40:24 +00:00
run_criteria.rs Simplify design for *Labels (#4957) 2022-07-14 18:23:01 +00:00
stage.rs Make Resource trait opt-in, requiring #[derive(Resource)] V2 (#5577) 2022-08-08 21:36:35 +00:00
state.rs Make Resource trait opt-in, requiring #[derive(Resource)] V2 (#5577) 2022-08-08 21:36:35 +00:00
system_container.rs Simplify design for *Labels (#4957) 2022-07-14 18:23:01 +00:00
system_descriptor.rs Simplify design for *Labels (#4957) 2022-07-14 18:23:01 +00:00
system_set.rs Simplify design for *Labels (#4957) 2022-07-14 18:23:01 +00:00