Skip to content

Commit

Permalink
Workaround for broken clippy lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
ryzhyk committed Jun 13, 2021
1 parent 4db9fb3 commit ea8eb2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rust/template/differential_datalog/src/replay.rs
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ where
self.inventory.get_index_name(iid).unwrap_or(&"???"),
key
)
.map(|_| vec![])
.and(Ok(vec![]))
.map_err(|e| e.to_string())
}

Expand All @@ -279,7 +279,7 @@ where
"dump_index {};",
self.inventory.get_index_name(iid).unwrap_or(&"???")
)
.map(|_| vec![])
.and(Ok(vec![]))
.map_err(|e| e.to_string())
}

Expand Down

0 comments on commit ea8eb2a

Please sign in to comment.