File tree Expand file tree Collapse file tree 4 files changed +16
-2
lines changed Expand file tree Collapse file tree 4 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 2
2
* License, v. 2.0. If a copy of the MPL was not distributed with this
3
3
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
4
4
5
+ #![ warn( clippy:: dbg_macro) ]
6
+ #![ warn( clippy:: print_stderr) ]
7
+ #![ warn( clippy:: print_stdout) ]
5
8
#![ warn( unreachable_pub) ]
9
+ #![ warn( unused_crate_dependencies) ]
10
+ #![ warn( unused_macro_rules) ]
6
11
#![ warn( unused_qualifications) ]
7
12
8
13
use std:: fmt:: Display ;
Original file line number Diff line number Diff line change 2
2
* License, v. 2.0. If a copy of the MPL was not distributed with this
3
3
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
4
4
5
+ #![ warn( clippy:: dbg_macro) ]
6
+ #![ warn( clippy:: print_stderr) ]
7
+ #![ warn( clippy:: print_stdout) ]
5
8
#![ warn( unreachable_pub) ]
9
+ #![ warn( unused_crate_dependencies) ]
10
+ #![ warn( unused_macro_rules) ]
6
11
#![ warn( unused_qualifications) ]
7
12
8
13
#[ cfg( feature = "transaction-proofs" ) ]
Original file line number Diff line number Diff line change @@ -192,8 +192,7 @@ fn process_commands(
192
192
}
193
193
194
194
if remaining_search_space < default_batch_size {
195
- // miner has exhausted it's search space, stop mining
196
- println ! ( "Search space exhausted, no longer mining this block." ) ;
195
+ // miner has exhausted its search space, stop mining
197
196
break ;
198
197
}
199
198
batch_start += batch_size + step_size as u64 - ( batch_size % step_size as u64 ) ;
Original file line number Diff line number Diff line change
1
+ #![ warn( clippy:: dbg_macro) ]
2
+ #![ warn( clippy:: print_stderr) ]
3
+ #![ warn( clippy:: print_stdout) ]
1
4
#![ warn( unreachable_pub) ]
5
+ #![ warn( unused_crate_dependencies) ]
6
+ #![ warn( unused_macro_rules) ]
2
7
#![ warn( unused_qualifications) ]
3
8
4
9
mod circuits;
You can’t perform that action at this time.
0 commit comments