From 3060a51c5c8775b9edfa3e80ac368d7027ee518b Mon Sep 17 00:00:00 2001 From: Eliza Weisman Date: Sat, 14 May 2022 10:06:26 -0700 Subject: [PATCH] placate freebsd ci for some reason Signed-off-by: Eliza Weisman --- tokio/src/task/join_set.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokio/src/task/join_set.rs b/tokio/src/task/join_set.rs index 389b03bc285..e208dfa7d3d 100644 --- a/tokio/src/task/join_set.rs +++ b/tokio/src/task/join_set.rs @@ -381,7 +381,7 @@ impl<'a, T: 'static> Builder<'a, T> { /// [`AbortHandle`]: crate::task::AbortHandle /// [runtime handle]: crate::runtime::Handle #[track_caller] - pub fn spawn_on(self, future: F, handle: &Handle) -> AbortHandle + pub fn spawn_on(mut self, future: F, handle: &Handle) -> AbortHandle where F: Future, F: Send + 'static,