A great re-architecture of the cli
continuous-integration/drone/push Build is failing

This commit is contained in:
2023-03-08 16:16:44 +00:00
parent eceb067add
commit 7216fd561e
19 changed files with 455 additions and 518 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ pub struct ProbabilisticSticking {
}
impl<P: GriddedPosition, S: Storage<P>> Sticker<P, S> for SimpleSticking {
fn should_stick<R: Rng>(&self, rng: &mut R, space: &S, position: &P) -> bool {
fn should_stick<R: Rng>(&self, _rng: &mut R, space: &S, position: &P) -> bool {
(0..P::NEIGHBOURS)
.map(|n| position.neighbour(n))
.any(|neighbour| space.is_occupied(&neighbour))