enable implicit_clone lint

This commit is contained in:
Charles Hall 2024-05-14 17:08:36 -07:00
parent b0f65913f3
commit ebae8ceeb0
No known key found for this signature in database
GPG key ID: 7B8E0645816E07CF
17 changed files with 24 additions and 23 deletions

View file

@ -99,7 +99,7 @@ impl Service {
// 1. Skip the PDU if we already have it as a timeline event
if let Some(pdu_id) = services().rooms.timeline.get_pdu_id(event_id)? {
return Ok(Some(pdu_id.to_vec()));
return Ok(Some(pdu_id.clone()));
}
let create_event = services()