Skip to content

Commit 18d7f1d

Browse files
Junha Yangmajecty
authored andcommitted
Fix the updated clippy error unused_unit
Now it checks the where clauses as well. rust-lang/rust-clippy@f20b96277397db2c9021d06c f8647014ccdc0a39
1 parent 002436b commit 18d7f1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/miner/miner.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ impl Params {
112112

113113
pub fn apply<F>(&self, f: F)
114114
where
115-
F: FnOnce(&mut AuthoringParams) -> (), {
115+
F: FnOnce(&mut AuthoringParams), {
116116
let mut params = self.params.write();
117117
f(&mut params);
118118
}

0 commit comments

Comments
 (0)