File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -4,25 +4,25 @@ use redux::EnablingCondition;
4
4
use crate :: State ;
5
5
6
6
impl EnablingCondition < State > for P2pListenNewAction {
7
- fn is_enabled ( & self , # [ allow ( unused_variables ) ] state : & State ) -> bool {
7
+ fn is_enabled ( & self , state : & State ) -> bool {
8
8
self . is_enabled ( & state. p2p )
9
9
}
10
10
}
11
11
12
12
impl EnablingCondition < State > for P2pListenExpiredAction {
13
- fn is_enabled ( & self , # [ allow ( unused_variables ) ] state : & State ) -> bool {
13
+ fn is_enabled ( & self , state : & State ) -> bool {
14
14
self . is_enabled ( & state. p2p )
15
15
}
16
16
}
17
17
18
18
impl EnablingCondition < State > for P2pListenErrorAction {
19
- fn is_enabled ( & self , # [ allow ( unused_variables ) ] state : & State ) -> bool {
19
+ fn is_enabled ( & self , state : & State ) -> bool {
20
20
self . is_enabled ( & state. p2p )
21
21
}
22
22
}
23
23
24
24
impl EnablingCondition < State > for P2pListenClosedAction {
25
- fn is_enabled ( & self , # [ allow ( unused_variables ) ] state : & State ) -> bool {
25
+ fn is_enabled ( & self , state : & State ) -> bool {
26
26
self . is_enabled ( & state. p2p )
27
27
}
28
28
}
You can’t perform that action at this time.
0 commit comments