Fix clippy lints

This commit is contained in:
Jonas Platte
2021-10-29 23:11:24 +02:00
parent a2570e1648
commit 56801780b6
2 changed files with 3 additions and 3 deletions

View File

@@ -169,7 +169,7 @@ impl<E: Event> TestStore<E> {
self.0
.get(event_id)
.map(Arc::clone)
.ok_or_else(|| Error::NotFound(format!("{} not found", event_id.to_string())))
.ok_or_else(|| Error::NotFound(format!("{} not found", event_id)))
}
/// Returns the events that correspond to the `event_ids` sorted in the same order.