From 193191fa544d09b5c0c12c9855db9991c57f91a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zoe=20Faltib=C3=A0?= Date: Tue, 21 May 2024 11:17:03 +0200 Subject: [PATCH] lint code with rust 1.78.0 --- src/wallet/test/get_wallet_dir.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wallet/test/get_wallet_dir.rs b/src/wallet/test/get_wallet_dir.rs index b6362c3..2cdf6f6 100644 --- a/src/wallet/test/get_wallet_dir.rs +++ b/src/wallet/test/get_wallet_dir.rs @@ -7,7 +7,7 @@ fn success() { let keys = generate_keys(BitcoinNetwork::Regtest); let wallet = Wallet::new(get_test_wallet_data( - &test_data_dir.to_string_lossy().to_string(), + test_data_dir.to_string_lossy().as_ref(), &keys.account_xpub, &keys.mnemonic, ))