Skip to content

Commit 08a55c2

Browse files
committed
fix clippy
1 parent d1dd5cf commit 08a55c2

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

gui/src/app/mod.rs

+4-5
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ impl Panels {
7171
cache.network,
7272
),
7373
settings: state::SettingsState::new(
74-
data_dir.clone(),
74+
data_dir,
7575
wallet.clone(),
7676
internal_bitcoind.is_some(),
7777
),
@@ -163,9 +163,9 @@ impl App {
163163
.map(|txs| txs.first().cloned())
164164
{
165165
Ok(Some(spend_tx)) => {
166-
PsbtsPanel::new_preselected(self.wallet.clone(), spend_tx).into()
166+
PsbtsPanel::new_preselected(self.wallet.clone(), spend_tx)
167167
}
168-
_ => PsbtsPanel::new(self.wallet.clone(), &self.cache.spend_txs).into(),
168+
_ => PsbtsPanel::new(self.wallet.clone(), &self.cache.spend_txs),
169169
};
170170
}
171171
menu::Menu::RefreshCoins(preselected) => {
@@ -175,8 +175,7 @@ impl App {
175175
self.cache.blockheight as u32,
176176
preselected,
177177
self.cache.network,
178-
)
179-
.into();
178+
);
180179
}
181180
_ => {}
182181
};

0 commit comments

Comments
 (0)