build: clippy disallow futures::pin_mut macro (#7016)

`std` has had `pin!` macro for some time, there is no need for us to use
the older alternatives. Cannot disallow `tokio::pin` because tokio
macros use that.
This commit is contained in:
Joonas Koivunen
2024-03-05 10:14:37 +00:00
committed by GitHub
parent 3da410c8fe
commit 752bf5a22f
8 changed files with 22 additions and 21 deletions
+1 -1
View File
@@ -605,7 +605,7 @@ impl PageServerNode {
eprintln!("connection error: {}", e);
}
});
tokio::pin!(client);
let client = std::pin::pin!(client);
// Init base reader
let (start_lsn, base_tarfile_path) = base;