Skip to content

Commit

Permalink
cargo clippy --fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyTornetta committed Dec 5, 2024
1 parent b4b347d commit d83cf3b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/boids/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ fn setup(
mut meshes: ResMut<Assets<Mesh>>,
mut materials: ResMut<Assets<ColorMaterial>>,
) {
commands.spawn(Camera2d::default());
commands.spawn(Camera2d);

let boid_mesh = meshes.add(RegularPolygon::new(2., 3));
let boid_material = materials.add(Color::from(css::ANTIQUE_WHITE));
Expand Down
2 changes: 1 addition & 1 deletion examples/game_of_life/render/draw_plugin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ impl Plugin for DrawPlugin {

/// Startup system for [`DrawPlugin`]
fn startup(mut commands: Commands) {
commands.spawn(Camera2d::default());
commands.spawn(Camera2d);
}

/// Simple system to check that our custom setup has happened.
Expand Down

0 comments on commit d83cf3b

Please sign in to comment.