From ce646ea845b2a039afbad076f116bde99aa069f4 Mon Sep 17 00:00:00 2001 From: Eric Seppanen Date: Mon, 3 May 2021 18:22:53 -0700 Subject: [PATCH] use tokio::try_join instead of futures::try_join We don't use the `futures` crate much. Remove one of only two references to it (tokio has the identical macro). --- pageserver/src/walredo.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pageserver/src/walredo.rs b/pageserver/src/walredo.rs index 1648f39825..e5c978399d 100644 --- a/pageserver/src/walredo.rs +++ b/pageserver/src/walredo.rs @@ -493,7 +493,7 @@ impl WalRedoProcess { Ok::<[u8; 8192], Error>(buf) }; - let res = futures::try_join!(f_stdout, f_stdin)?; + let res = tokio::try_join!(f_stdout, f_stdin)?; let buf = res.0;