diff --git a/source/vibe/core/concurrency.d b/source/vibe/core/concurrency.d index 28ab92e..e0d1326 100644 --- a/source/vibe/core/concurrency.d +++ b/source/vibe/core/concurrency.d @@ -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. diff --git a/source/vibe/core/taskpool.d b/source/vibe/core/taskpool.d index 87b0c32..6d85596 100644 --- a/source/vibe/core/taskpool.d +++ b/source/vibe/core/taskpool.d @@ -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 {