Skip to content

Commit

Permalink
Formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
alansartorio committed Mar 13, 2022
1 parent 4ee326c commit fd7639c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/step.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
use std::error::Error;
use std::str::FromStr;
use bimap::BiMap;
use enum_map::Enum;
use rand::distributions::uniform::SampleRange;
use rand::seq::SliceRandom;
use std::error::Error;
use std::ops::Neg;
use std::str::FromStr;
use strum::IntoEnumIterator;
use strum_macros::EnumIter;

Expand Down Expand Up @@ -400,7 +400,6 @@ pub struct Step<const N: usize> {
pub count: i8,
}


impl<const N: usize> Neg for Step<N> {
type Output = Self;

Expand All @@ -412,7 +411,6 @@ impl<const N: usize> Neg for Step<N> {
}
}


#[derive(Clone)]
pub struct Algorythm<const N: usize>(pub Vec<Step<N>>);

Expand Down

0 comments on commit fd7639c

Please sign in to comment.