fix: to string

This commit is contained in:
Kingtous
2022-05-13 09:30:52 +08:00
parent b3f523f65e
commit 77bb821ecf
5 changed files with 38 additions and 32 deletions

View File

@@ -371,7 +371,6 @@ impl ConnectionManager {
}
async fn send(msg: Message, conn: &mut Connection) {
println!("send msg: {:?}", msg);
match msg.write_to_bytes() {
Ok(bytes) => allow_err!(conn.send(&Data::RawMessage(bytes)).await),
err => allow_err!(err),