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;
44use crate :: State ;
55
66impl EnablingCondition < State > for P2pListenNewAction {
7- fn is_enabled ( & self , # [ allow ( unused_variables ) ] state : & State ) -> bool {
7+ fn is_enabled ( & self , state : & State ) -> bool {
88 self . is_enabled ( & state. p2p )
99 }
1010}
1111
1212impl EnablingCondition < State > for P2pListenExpiredAction {
13- fn is_enabled ( & self , # [ allow ( unused_variables ) ] state : & State ) -> bool {
13+ fn is_enabled ( & self , state : & State ) -> bool {
1414 self . is_enabled ( & state. p2p )
1515 }
1616}
1717
1818impl EnablingCondition < State > for P2pListenErrorAction {
19- fn is_enabled ( & self , # [ allow ( unused_variables ) ] state : & State ) -> bool {
19+ fn is_enabled ( & self , state : & State ) -> bool {
2020 self . is_enabled ( & state. p2p )
2121 }
2222}
2323
2424impl EnablingCondition < State > for P2pListenClosedAction {
25- fn is_enabled ( & self , # [ allow ( unused_variables ) ] state : & State ) -> bool {
25+ fn is_enabled ( & self , state : & State ) -> bool {
2626 self . is_enabled ( & state. p2p )
2727 }
2828}
You can’t perform that action at this time.
0 commit comments