Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
siq1 committed Nov 19, 2024
1 parent 0f229c4 commit eff24c6
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions expander_compiler/src/compile/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,11 @@ mod random_circuit_tests;
#[cfg(test)]
mod tests;

#[derive(Default)]
pub struct CompileOptions {
pub mul_fanout_limit: Option<usize>,
}

impl Default for CompileOptions {
fn default() -> Self {
Self {
mul_fanout_limit: None,
}
}
}

impl CompileOptions {
pub fn with_mul_fanout_limit(mut self, mul_fanout_limit: usize) -> Self {
self.mul_fanout_limit = Some(mul_fanout_limit);
Expand Down

0 comments on commit eff24c6

Please sign in to comment.