feat: tidying (cargo clippy)
This commit is contained in:
@@ -89,7 +89,6 @@ pub async fn on_send_msg_cs_req(
|
||||
from_uid: SERVER_UID, // from
|
||||
to_uid: 25, // to
|
||||
chat_type: body.chat_type,
|
||||
..Default::default()
|
||||
})
|
||||
.await
|
||||
.unwrap();
|
||||
@@ -121,7 +120,6 @@ pub async fn on_send_msg_cs_req(
|
||||
from_uid: SERVER_UID, // from
|
||||
to_uid: 25, // to
|
||||
chat_type: body.chat_type,
|
||||
..Default::default()
|
||||
})
|
||||
.await
|
||||
.unwrap();
|
||||
@@ -153,7 +151,6 @@ pub async fn on_send_msg_cs_req(
|
||||
from_uid: SERVER_UID, // from
|
||||
to_uid: 25, // to
|
||||
chat_type: body.chat_type,
|
||||
..Default::default()
|
||||
})
|
||||
.await
|
||||
.unwrap();
|
||||
|
||||
@@ -36,7 +36,7 @@ pub async fn on_player_login_finish_cs_req(
|
||||
session
|
||||
.send(ContentPackageSyncDataScNotify {
|
||||
data: Some(PackageData {
|
||||
info_list: vec![
|
||||
info_list: [
|
||||
200001, 200002, 200003, 200004, 150017, 150015, 150021, 150018, 130011, 130012,
|
||||
130013,
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user