ci: update clippy version to 1.75 (#6273)

This commit is contained in:
Taiki Endo
2024-01-07 02:33:37 +09:00
committed by GitHub
parent 3275cfb638
commit 84c5674c60
30 changed files with 31 additions and 53 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
#![cfg(all(feature = "compat"))]
#![cfg(feature = "compat")]
#![cfg(not(target_os = "wasi"))] // WASI does not support all fs operations
#![warn(rust_2018_idioms)]
+1 -1
View File
@@ -29,7 +29,7 @@ async fn simple() {
#[tokio::test]
async fn simple_ref() {
let v = vec![1, 2, 3i32];
let v = [1, 2, 3i32];
let (send, mut recv) = channel(3);
let mut send = PollSender::new(send);
+2 -2
View File
@@ -31,7 +31,7 @@ fn can_drop_future_and_still_get_output() {
let pool = task::LocalPoolHandle::new(1);
let (sender, receiver) = std::sync::mpsc::channel();
let _ = pool.spawn_pinned(move || {
pool.spawn_pinned(move || {
// Rc is !Send + !Sync
let local_data = Rc::new("test");
@@ -209,7 +209,7 @@ async fn spawn_by_idx() {
},
0,
);
let _ = pool.spawn_pinned_by_idx(
pool.spawn_pinned_by_idx(
|| async move {
barrier2.wait().await;
std::thread::current().id()