Skip to content

Commit 054c9d1

Browse files
zetanumbersfogti
authored andcommitted
feat: relax Send bound on LocalExecutor::spawn_many
1 parent 7577d56 commit 054c9d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ impl<'a> LocalExecutor<'a> {
563563
///
564564
/// [`spawn`]: LocalExecutor::spawn
565565
/// [`Executor::spawn_many`]: Executor::spawn_many
566-
pub fn spawn_many<T: Send + 'a, F: Future<Output = T> + Send + 'a>(
566+
pub fn spawn_many<T: 'a, F: Future<Output = T> + 'a>(
567567
&self,
568568
futures: impl IntoIterator<Item = F>,
569569
handles: &mut impl Extend<Task<F::Output>>,

0 commit comments

Comments
 (0)