Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdelStark committed Jul 7, 2023
1 parent 8d03e70 commit 052a6df
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions crates/gatling/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ use serde_derive::Deserialize;
#[derive(Debug, Deserialize)]
pub struct GatlingConfig {
/// The RPC configuration.
rpc: Rpc,
_rpc: Rpc,
/// The simulation configuration.
simulation: Simulation,
_simulation: Simulation,
}

#[derive(Debug, Deserialize)]
Expand All @@ -36,7 +36,6 @@ impl GatlingConfig {
.add_source(config::Environment::with_prefix("gatling"))
.build()
.unwrap()
.clone()
.try_deserialize()
.map_err(|e| e.into())
}
Expand Down

0 comments on commit 052a6df

Please sign in to comment.