mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-17 15:51:23 +01:00
enable needless_pass_by_value lint
This commit is contained in:
parent
c4a9bca16f
commit
a636405bed
3 changed files with 10 additions and 9 deletions
|
|
@ -43,8 +43,8 @@ pub(crate) async fn get_relating_events_with_rel_type_and_event_type_route(
|
|||
sender_user,
|
||||
&body.room_id,
|
||||
&body.event_id,
|
||||
Some(body.event_type.clone()),
|
||||
Some(body.rel_type.clone()),
|
||||
Some(&body.event_type),
|
||||
Some(&body.rel_type),
|
||||
from,
|
||||
to,
|
||||
limit,
|
||||
|
|
@ -95,7 +95,7 @@ pub(crate) async fn get_relating_events_with_rel_type_route(
|
|||
&body.room_id,
|
||||
&body.event_id,
|
||||
None,
|
||||
Some(body.rel_type.clone()),
|
||||
Some(&body.rel_type),
|
||||
from,
|
||||
to,
|
||||
limit,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue