Skip to content

Commit 749805e

Browse files
Fix critical compilation error in dashcore-rpc
- Move #[allow(unused)] to correct position with crate attributes - Add missing '!' to make it a proper crate-level attribute - Resolves clippy compilation failure when warnings are treated as errors
1 parent 51aa741 commit 749805e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rpc-client/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
1616
#![crate_name = "dashcore_rpc"]
1717
#![crate_type = "rlib"]
18+
#![allow(unused)]
1819

1920
#[macro_use]
2021
extern crate log;
21-
#[allow(unused)]
2222
#[macro_use] // `macro_use` is needed for v1.24.0 compilation.
2323
extern crate serde;
2424
extern crate serde_json;

0 commit comments

Comments
 (0)