Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfv committed May 29, 2024
1 parent b58b73f commit ce26d93
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions src/render/solver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,22 +135,13 @@ struct GatewayReporter {
finish_template: Option<ProgressStyle>,
}

#[derive(Default)]
struct GatewayReporterBuilder {
multi_progress: Option<indicatif::MultiProgress>,
progress_template: Option<ProgressStyle>,
finish_template: Option<ProgressStyle>,
}

impl Default for GatewayReporterBuilder {
fn default() -> Self {
Self {
multi_progress: None,
progress_template: None,
finish_template: None,
}
}
}

impl GatewayReporter {
pub fn builder() -> GatewayReporterBuilder {
GatewayReporterBuilder::default()
Expand Down

0 comments on commit ce26d93

Please sign in to comment.