mirror of
https://github.com/bevyengine/bevy
synced 2024-12-03 01:49:14 +00:00
Clean up formatting in the example for App::add_startup_systems
(#7822)
# Objective rustfmt go brr
This commit is contained in:
parent
e81142611b
commit
9c98f8adc3
1 changed files with 5 additions and 7 deletions
|
@ -479,13 +479,11 @@ impl App {
|
||||||
/// # fn startup_system_b() {}
|
/// # fn startup_system_b() {}
|
||||||
/// # fn startup_system_c() {}
|
/// # fn startup_system_c() {}
|
||||||
/// #
|
/// #
|
||||||
/// app.add_startup_systems(
|
/// app.add_startup_systems((
|
||||||
/// (
|
/// startup_system_a,
|
||||||
/// startup_system_a,
|
/// startup_system_b,
|
||||||
/// startup_system_b,
|
/// startup_system_c,
|
||||||
/// startup_system_c,
|
/// ));
|
||||||
/// )
|
|
||||||
/// );
|
|
||||||
/// ```
|
/// ```
|
||||||
pub fn add_startup_systems<M>(&mut self, systems: impl IntoSystemConfigs<M>) -> &mut Self {
|
pub fn add_startup_systems<M>(&mut self, systems: impl IntoSystemConfigs<M>) -> &mut Self {
|
||||||
self.add_systems(systems.into_configs().in_schedule(CoreSchedule::Startup))
|
self.add_systems(systems.into_configs().in_schedule(CoreSchedule::Startup))
|
||||||
|
|
Loading…
Reference in a new issue