Skip to content

Commit d87f356

Browse files
committed
Workaround for broken clippy lint.
Workaround for: rust-lang/rust-clippy#3071
1 parent 26b77c5 commit d87f356

File tree

1 file changed

+2
-2
lines changed
  • rust/template/differential_datalog/src

1 file changed

+2
-2
lines changed

rust/template/differential_datalog/src/replay.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ where
268268
self.inventory.get_index_name(iid).unwrap_or(&"???"),
269269
key
270270
)
271-
.map(|_| vec![])
271+
.and(Ok(vec![]))
272272
.map_err(|e| e.to_string())
273273
}
274274

@@ -279,7 +279,7 @@ where
279279
"dump_index {};",
280280
self.inventory.get_index_name(iid).unwrap_or(&"???")
281281
)
282-
.map(|_| vec![])
282+
.and(Ok(vec![]))
283283
.map_err(|e| e.to_string())
284284
}
285285

0 commit comments

Comments
 (0)