Skip to content

Commit 8c79c2f

Browse files
Fix clippy lints
1 parent 2445ae4 commit 8c79c2f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/results/dummy.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ impl DummyDB {
2727
pub fn add_dummy_log(&mut self, ex: &Experiment, krate: Crate, tc: Toolchain, log: EncodedLog) {
2828
self.experiments
2929
.entry(ex.name.to_string())
30-
.or_insert_with(DummyData::default)
30+
.or_default()
3131
.logs
3232
.insert((krate, tc), log);
3333
}
@@ -41,7 +41,7 @@ impl DummyDB {
4141
) {
4242
self.experiments
4343
.entry(ex.name.to_string())
44-
.or_insert_with(DummyData::default)
44+
.or_default()
4545
.results
4646
.insert((krate, tc), res);
4747
}

0 commit comments

Comments
 (0)