Skip to content

Commit

Permalink
Fix clippy lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
asaaki committed Dec 8, 2023
1 parent dc46bf0 commit 665d292
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ fn setup_fps_display(mut commands: Commands<'_, '_>, asset_server: Res<'_, Asset
font: font.clone(),
font_size: 40.,
color: Color::rgba(0.5, 0.9, 1.0, 1.0),
..default()
};
commands
.spawn(TextBundle {
Expand Down Expand Up @@ -193,8 +192,7 @@ fn setup_debug_build_info(mut commands: Commands<'_, '_>, asset_server: Res<'_,
TextStyle {
font: font.clone(),
font_size: 12.0,
color: Color::GOLD,
..default()
color: Color::GOLD
},
)])
.with_alignment(TextAlignment::Right),
Expand Down

0 comments on commit 665d292

Please sign in to comment.