File tree Expand file tree Collapse file tree 6 files changed +1
-11
lines changed Expand file tree Collapse file tree 6 files changed +1
-11
lines changed Original file line number Diff line number Diff line change 1
- #![ allow( dead_code) ]
2
-
1
+ #[ allow( dead_code) ]
3
2
pub mod exec;
4
3
mod frame;
Original file line number Diff line number Diff line change 20
20
pub mod commit;
21
21
pub mod iter;
22
22
pub mod node;
23
- #[ allow( dead_code) ]
24
23
pub mod types;
25
24
mod value;
26
25
Original file line number Diff line number Diff line change @@ -63,7 +63,6 @@ pub enum NodeInner<Witness, App: Application> {
63
63
Jet ( & ' static JetNode < App > ) ,
64
64
}
65
65
66
- #[ allow( dead_code) ]
67
66
/// Source and target type of a node
68
67
#[ derive( Debug ) ]
69
68
pub struct NodeType {
Original file line number Diff line number Diff line change @@ -18,28 +18,23 @@ extern crate bitcoin_hashes;
18
18
extern crate byteorder;
19
19
extern crate miniscript;
20
20
21
- #[ allow( unused_macros) ]
22
21
#[ macro_use]
23
22
mod macros;
24
23
25
- #[ allow( dead_code) ]
26
24
mod analysis;
27
25
pub mod bit_machine;
28
26
pub mod bititer;
29
27
pub mod core;
30
- #[ allow( dead_code) ]
31
28
pub mod decode;
32
29
#[ allow( dead_code) ]
33
30
pub mod encode;
34
- #[ allow( dead_code) ]
35
31
mod inference;
36
32
pub mod jet;
37
33
pub mod merkle;
38
34
#[ cfg( feature = "bitcoin" ) ]
39
35
pub mod policy;
40
36
#[ cfg( test) ]
41
37
mod test_progs;
42
- #[ allow( dead_code) ]
43
38
mod util;
44
39
45
40
pub use crate :: bit_machine:: exec;
Original file line number Diff line number Diff line change @@ -46,7 +46,6 @@ impl CommitMerkleRoot for Imr {
46
46
}
47
47
}
48
48
49
- #[ allow( dead_code) ]
50
49
/// Compute the IMR of the given node (once finalized).
51
50
///
52
51
/// Nodes with left children require their finalized left child,
Original file line number Diff line number Diff line change @@ -43,7 +43,6 @@ macro_rules! define_be_to_array {
43
43
}
44
44
45
45
define_slice_to_be ! ( slice_to_u64_be, u64 ) ;
46
- define_slice_to_be ! ( slice_to_u32_be, u32 ) ;
47
46
define_be_to_array ! ( u64_to_array_be, u64 , 8 ) ;
48
47
49
48
// handy function for converting bit vector to vec[u8]
You can’t perform that action at this time.
0 commit comments