services/sending: avoid unnecessary clone

This commit is contained in:
Lambda 2025-02-09 17:51:12 +00:00 committed by Charles Hall
parent ed12b0bf67
commit d9c7fbbd82
No known key found for this signature in database
GPG key ID: 7B8E0645816E07CF
3 changed files with 6 additions and 9 deletions

View file

@ -55,7 +55,7 @@ impl service::sending::Data for KeyValueDatabase {
fn queue_requests(
&self,
requests: &[(&Destination, SendingEventType)],
requests: &[(&Destination, &SendingEventType)],
) -> Result<Vec<RequestKey>> {
let mut batch = Vec::new();
let mut keys = Vec::new();