remove clone
This commit is contained in:
1 parent
175d257e34
commit
edcb7c50ce
1 file changed
+1
-1
@@ -358,7 +358,7 @@ pub fn publish(ids: Vec<String>, notification: ClientboundNotification) {
|
||||
}
|
||||
}
|
||||
|
||||
let json_msg = Message::Text(serde_json::to_string(¬ification.clone()).unwrap());
|
||||
let json_msg = Message::Text(serde_json::to_string(¬ification).unwrap());
|
||||
let msgpack_msg = Message::Binary(rmp_serde::to_vec_named(¬ification).unwrap());
|
||||
|
||||
let connections = CONNECTIONS.lock().unwrap();
|
||||
|
||||
Reference in new issue
Block a user