Skip to content

Commit

Permalink
Rust 1.73.0: remove redundant clone()s
Browse files Browse the repository at this point in the history
  • Loading branch information
elonen committed Oct 19, 2023
1 parent 28c6b4b commit 61773d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/src/api_server/ws_handers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ pub async fn msg_list_my_videos(data: &serde_json::Value, ses: &mut WsSessionArg


ses.emit_cmd("user_videos", &json!({
"username": ses.user_name.clone(),
"user_id": ses.user_id.clone(),
"username": ses.user_name,
"user_id": ses.user_id,
"videos": videos }),
super::SendTo::CurSession())?;
Ok(())
Expand Down

0 comments on commit 61773d2

Please sign in to comment.