From f349be0f25844c327c23e6946ed1a82eddf3fd12 Mon Sep 17 00:00:00 2001 From: Szepesi Tibor Date: Sun, 30 Jun 2024 15:19:03 +0200 Subject: [PATCH] Remove unnecessary clone --- src/handlers/team/join.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/handlers/team/join.rs b/src/handlers/team/join.rs index 6f45b327..ce86c63d 100644 --- a/src/handlers/team/join.rs +++ b/src/handlers/team/join.rs @@ -75,7 +75,7 @@ pub async fn join_team( topics::team_info(&team.id), serde_json::to_vec(&Event::JoinTeam { user: user.id, - name: user_info.name.clone(), + name: user_info.name, }) .unwrap() .into(),