Skip to content

Commit

Permalink
fix new errors
Browse files Browse the repository at this point in the history
  • Loading branch information
hymm committed Aug 28, 2023
1 parent 009dee3 commit 8e022a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/bevy_ecs/src/system/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ pub trait IntoSystem<In, Out, Marker>: Sized {
///
/// ```
/// # use bevy_ecs::prelude::*;
/// # let mut schedule = Schedule::new();
/// # let mut schedule = Schedule::default();
/// // Ignores the output of a system that may fail.
/// schedule.add_systems(my_system.map(std::mem::drop));
/// # let mut world = World::new();
Expand Down
2 changes: 1 addition & 1 deletion crates/bevy_ecs/src/system/system_param.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1735,7 +1735,7 @@ mod tests {
}

let mut world = World::new();
let mut schedule = crate::schedule::Schedule::new();
let mut schedule = crate::schedule::Schedule::default();
schedule.add_systems(non_sync_system);
schedule.run(&mut world);
}
Expand Down

0 comments on commit 8e022a9

Please sign in to comment.