Skip to content

Commit

Permalink
Syntax fix in ThreadPool::install example
Browse files Browse the repository at this point in the history
  • Loading branch information
cuviper authored Dec 13, 2023
1 parent e9835aa commit 9dc500f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rayon-core/src/thread_pool/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ impl ThreadPool {
/// print!("one ");
/// pool.install(||{});
/// print!("two ");
/// }
/// };
/// rayon::join(|| do_it(), || do_it());
/// }
/// ```
Expand Down

0 comments on commit 9dc500f

Please sign in to comment.