Skip to content
Snippets Groups Projects
Unverified Commit 52fe8829 authored by Kat Marchán's avatar Kat Marchán
Browse files

misc: appease clippy and fmt

parent d7d17772
No related branches found
No related tags found
No related merge requests found
......@@ -163,9 +163,11 @@ pub mod prelude {
use super::*;
pub use super::BigBrainPlugin;
pub use actions::{ActionBuilder, ActionState, Steps, Concurrently};
pub use actions::{ActionBuilder, ActionState, Concurrently, Steps};
pub use pickers::{FirstToScore, Picker};
pub use scorers::{AllOrNothing, FixedScore, Score, ScorerBuilder, SumOfScorers, WinningScorer};
pub use scorers::{
AllOrNothing, FixedScore, Score, ScorerBuilder, SumOfScorers, WinningScorer,
};
pub use thinker::{Actor, Thinker, ThinkerBuilder};
}
......
......@@ -255,6 +255,7 @@ impl SumOfScorersBuilder {
}
impl ScorerBuilder for SumOfScorersBuilder {
#[allow(clippy::needless_collect)]
fn build(&self, cmd: &mut Commands, scorer: Entity, actor: Entity) {
let scorers: Vec<_> = self
.scorers
......@@ -345,6 +346,7 @@ impl WinningScorerBuilder {
}
impl ScorerBuilder for WinningScorerBuilder {
#[allow(clippy::needless_collect)]
fn build(&self, cmd: &mut Commands, scorer: Entity, actor: Entity) {
let scorers: Vec<_> = self
.scorers
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment