Fix parameter documentation syntax. Fixes #103.

This commit is contained in:
Sönke Ludwig 2019-01-14 00:27:09 +01:00
parent cccf45cfea
commit dfd7d97225
2 changed files with 3 additions and 3 deletions

View file

@ -1123,9 +1123,9 @@ struct Future(T) {
used and the result is computed within a separate task within the calling thread. used and the result is computed within a separate task within the calling thread.
Params: 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). user defined type that defines an $(D opCall).
args: Arguments to pass to the callable. args = Arguments to pass to the callable.
Returns: Returns:
Returns a $(D Future) object that can be used to access the result. Returns a $(D Future) object that can be used to access the result.

View file

@ -35,7 +35,7 @@ shared final class TaskPool {
/** Creates a new task pool with the specified number of threads. /** Creates a new task pool with the specified number of threads.
Params: 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()) this(size_t thread_count = logicalProcessorCount())
@safe { @safe {