Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Salka1988 committed Sep 26, 2023
1 parent 135f658 commit 908c23a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/fuels-test-helpers/src/fuel_service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ impl RunnableService for FuelNode {
let mut command = Command::new(path);
let running_node = command.args(args).kill_on_drop(true).output();

let address = extended_config.config.addr.clone();
let address = extended_config.config.addr;
let client = FuelClient::from(address);
server_health_check(&client).await?;

Expand Down Expand Up @@ -222,11 +222,11 @@ impl FuelService {
let bound_address = match requested_port {
0 => get_socket_address(),
_ if is_free(requested_port) => config.addr,
_ => return Err(Error::IOError(std::io::ErrorKind::AddrInUse.into()).into()),
_ => return Err(Error::IOError(std::io::ErrorKind::AddrInUse.into())),
};

let config = Config {
addr: bound_address.clone(),
addr: bound_address,
..config
};

Expand Down

0 comments on commit 908c23a

Please sign in to comment.