Skip to content

Commit cc22671

Browse files
committed
Merge #354: Allow deprecated in main lib module
48424da Allow deprecated in main lib module (Tobin C. Harding) Pull request description: We deprecate a variant in `GetPeerInfoResultNetwork` that causes clippy to give a false positive. Adding an attribute on the enum does not quitet it down, just add a module level attribute. This warning has been here for ever. ACKs for top commit: apoelstra: ACK 48424da super weird. I guess we ought to file a bug Tree-SHA512: 1b533c2b97aa23cfa527d63ed38d2cd202480deaec95e3ec3c0667b456614a2e1f8792ae59faad8690b9a51e47bae08c449d9888a42f5e33cea804a3c0bf7048
2 parents f19c1b5 + 48424da commit cc22671

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

json/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
1616
#![crate_name = "bitcoincore_rpc_json"]
1717
#![crate_type = "rlib"]
18+
#![allow(deprecated)] // Because of `GetPeerInfoResultNetwork::Unroutable`.
1819

1920
pub extern crate bitcoin;
2021
#[allow(unused)]

0 commit comments

Comments
 (0)