Remove static lifetime

const str types do not need an explicit lifetime, remove it. Found by
clippy.
This commit is contained in:
Tobin Harding 2020-12-23 13:33:05 +11:00
parent 2057c35468
commit 3a0a1e6d4a
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607

View File

@ -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\