mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2026-02-07 17:21:23 +01:00
services/sending: avoid unnecessary clone
This commit is contained in:
parent
ed12b0bf67
commit
d9c7fbbd82
3 changed files with 6 additions and 9 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue