Skip to content

Commit 1e1d801

Browse files
committed
fix typo
1 parent 3d3277f commit 1e1d801

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/tsan.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ fn pool() {
254254

255255
A::grow(unsafe { &mut M });
256256

257-
thread::pool(move |scope| {
257+
thread::scope(move |scope| {
258258
scope.spawn(move || {
259259
for _ in 0..N / 4 {
260260
let a = A::alloc().unwrap();

0 commit comments

Comments
 (0)