Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
flexatone committed Mar 18, 2024
1 parent d66ed49 commit 8f3cd2d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,15 @@ impl Sieve {

fn __or__(&self, other: &Self) -> Self {
let new: SieveRS = self.s.clone() | other.s.clone();
Self{s: new}
Self { s: new }
}

fn __and__(&self, other: &Self) -> Self {
let new: SieveRS = self.s.clone() & other.s.clone();
Self{s: new}
Self { s: new }
}

//--------------------------------------------------------------------------

}

/// A Python module implemented in Rust.
Expand Down

0 comments on commit 8f3cd2d

Please sign in to comment.