From 1e1d801b07c20f73f3343aae526d9785f9a3b2b3 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Fri, 29 Apr 2022 15:29:15 +0200 Subject: [PATCH] fix typo --- tests/tsan.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tsan.rs b/tests/tsan.rs index 658f6aa9..9e87fb0e 100644 --- a/tests/tsan.rs +++ b/tests/tsan.rs @@ -254,7 +254,7 @@ fn pool() { A::grow(unsafe { &mut M }); - thread::pool(move |scope| { + thread::scope(move |scope| { scope.spawn(move || { for _ in 0..N / 4 { let a = A::alloc().unwrap();