Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Thoralf-M committed May 12, 2021
1 parent cae0d91 commit c0eacc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iota-client/src/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ impl ClientBuilder {
let node_sync_interval = self.node_sync_interval;

#[cfg(feature = "wasm")]
let (sync, network_info) = (Arc::new(RwLock::new(nodes.clone())), network_info);
let (sync, network_info) = (Arc::new(RwLock::new(nodes)), network_info);
#[cfg(not(feature = "wasm"))]
let (runtime, sync, sync_kill_sender, network_info) = if self.node_sync_enabled {
let sync = Arc::new(RwLock::new(HashSet::new()));
Expand Down

0 comments on commit c0eacc4

Please sign in to comment.