Skip to content

Commit f442a65

Browse files
committed
run cargo fmt
1 parent 5dc9893 commit f442a65

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

examples/game/breakout.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
use bevy::{
2-
core::{FixedTimestep},
2+
core::FixedTimestep,
33
prelude::*,
44
render::pass::ClearColor,
55
sprite::collide_aabb::{collide, Collision},
@@ -16,9 +16,7 @@ fn main() {
1616
.add_stage(
1717
FixedUpdateStage,
1818
SystemStage::parallel()
19-
.with_run_criteria(
20-
FixedTimestep::step(TIME_STEP as f64)
21-
)
19+
.with_run_criteria(FixedTimestep::step(TIME_STEP as f64))
2220
.with_system(paddle_movement_system.system())
2321
.with_system(ball_collision_system.system())
2422
.with_system(ball_movement_system.system()),
@@ -65,7 +63,9 @@ fn setup(
6563
sprite: Sprite::new(Vec2::new(120.0, 30.0)),
6664
..Default::default()
6765
})
68-
.with(Paddle { speed: 500.0 * TIME_STEP })
66+
.with(Paddle {
67+
speed: 500.0 * TIME_STEP,
68+
})
6969
.with(Collider::Paddle)
7070
// ball
7171
.spawn(SpriteBundle {

0 commit comments

Comments
 (0)