Skip to content

Commit

Permalink
Change pseudocode into actual code
Browse files Browse the repository at this point in the history
Now not needing the preamble
  • Loading branch information
lizmat committed Mar 7, 2023
1 parent bd8282e commit 8fd5f52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/Type/ThreadPoolScheduler.rakudoc
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ the work.

=head2 new

=for code :preamble<sub cores {}>
method new(Int :$initial_threads = 0, Int :$max_threads = 8 * cores)
=for code
method new(Int :$initial_threads = 0, Int :$max_threads = 8 * Kernel.cpu-cores)

Creates a new C<ThreadPoolScheduler> object with the given range of threads to
maintain.
Expand Down

0 comments on commit 8fd5f52

Please sign in to comment.