From 4858ca5f74a54d1773c433fd02d296a6a95579b3 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Mon, 27 Apr 2020 11:52:49 +0200 Subject: [PATCH] Remove unnecessary clone --- src/test_builder.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test_builder.rs b/src/test_builder.rs index b28b0139..43ac5e0b 100644 --- a/src/test_builder.rs +++ b/src/test_builder.rs @@ -371,7 +371,7 @@ impl ClientTestRunner { } for event in &self.room_events { - cli.receive_joined_timeline_event(room_id, &mut EventJson::from(event.clone())) + cli.receive_joined_timeline_event(room_id, &mut EventJson::from(event)) .await; } for event in &self.presence_events {