From: Tobin Harding Date: Wed, 23 Dec 2020 02:33:05 +0000 (+1100) Subject: Remove static lifetime X-Git-Tag: v0.5.0~10^2~18 X-Git-Url: http://internal-gitweb-vhost/script/%22https:/database/struct.OutOfRangeError.html?a=commitdiff_plain;h=3a0a1e6d4a833f9f215f65a345ac4fef6dbc8afa;p=bdk Remove static lifetime const str types do not need an explicit lifetime, remove it. Found by clippy. --- diff --git a/src/wallet/tx_builder.rs b/src/wallet/tx_builder.rs index 86dca563..d4ba8a4e 100644 --- a/src/wallet/tx_builder.rs +++ b/src/wallet/tx_builder.rs @@ -629,7 +629,7 @@ impl ChangeSpendPolicy { #[cfg(test)] mod test { - const ORDERING_TEST_TX: &'static str = "0200000003c26f3eb7932f7acddc5ddd26602b77e7516079b03090a16e2c2f54\ + const ORDERING_TEST_TX: &str = "0200000003c26f3eb7932f7acddc5ddd26602b77e7516079b03090a16e2c2f54\ 85d1fd600f0100000000ffffffffc26f3eb7932f7acddc5ddd26602b77e75160\ 79b03090a16e2c2f5485d1fd600f0000000000ffffffff571fb3e02278217852\ dd5d299947e2b7354a639adc32ec1fa7b82cfb5dec530e0500000000ffffffff\