ci: update to Rust 1.75.0 and fix clippy

This commit is contained in:
link2xt
2024-01-08 20:01:40 +00:00
parent b9a58bf625
commit 2f8a8f9f50
13 changed files with 31 additions and 27 deletions

View File

@@ -1241,7 +1241,7 @@ mod tests {
)
.await?
.unwrap();
assert_eq!(*received_msg.msg_ids.get(0).unwrap(), bob_instance.id);
assert_eq!(*received_msg.msg_ids.first().unwrap(), bob_instance.id);
let bob_instance = bob.get_last_msg().await;
assert_eq!(bob_instance.viewtype, Viewtype::Webxdc);
assert_eq!(bob_instance.download_state, DownloadState::Done);