Skip to content

Commit 9dc500f

Browse files
authored
Syntax fix in ThreadPool::install example
1 parent e9835aa commit 9dc500f

File tree

1 file changed

+1
-1
lines changed
  • rayon-core/src/thread_pool

1 file changed

+1
-1
lines changed

rayon-core/src/thread_pool/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ impl ThreadPool {
9797
/// print!("one ");
9898
/// pool.install(||{});
9999
/// print!("two ");
100-
/// }
100+
/// };
101101
/// rayon::join(|| do_it(), || do_it());
102102
/// }
103103
/// ```

0 commit comments

Comments
 (0)