feat: tidying (cargo clippy)

This commit is contained in:
amizing25
2024-09-18 05:09:37 +07:00
parent d7696f4769
commit f41cc5e47b
3 changed files with 7 additions and 10 deletions
-3
View File
@@ -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();
+1 -1
View File
@@ -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,
]