bevy/crates/bevy_render
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
..
macros Bump Version after Release (#5576) 2022-08-05 02:03:05 +00:00
src Remove an outdated workaround for impl Trait (#5659) 2022-08-16 23:40:24 +00:00
Cargo.toml Bump Version after Release (#5576) 2022-08-05 02:03:05 +00:00