Fix parameter documentation syntax. Fixes #103.
This commit is contained in:
parent
cccf45cfea
commit
dfd7d97225
|
@ -1123,9 +1123,9 @@ struct Future(T) {
|
|||
used and the result is computed within a separate task within the calling thread.
|
||||
|
||||
Params:
|
||||
callable: A callable value, can be either a function, a delegate, or a
|
||||
callable = A callable value, can be either a function, a delegate, or a
|
||||
user defined type that defines an $(D opCall).
|
||||
args: Arguments to pass to the callable.
|
||||
args = Arguments to pass to the callable.
|
||||
|
||||
Returns:
|
||||
Returns a $(D Future) object that can be used to access the result.
|
||||
|
|
|
@ -35,7 +35,7 @@ shared final class TaskPool {
|
|||
/** Creates a new task pool with the specified number of threads.
|
||||
|
||||
Params:
|
||||
thread_count: The number of worker threads to create
|
||||
thread_count = The number of worker threads to create
|
||||
*/
|
||||
this(size_t thread_count = logicalProcessorCount())
|
||||
@safe {
|
||||
|
|
Loading…
Reference in a new issue