From 834d0ebd0f1245976d940a0f06b962e5678b585d Mon Sep 17 00:00:00 2001 From: Jaremy Creechley Date: Tue, 5 Sep 2023 17:18:06 -0700 Subject: [PATCH] tweak docs --- datastore/threads/threadresults.nim | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/datastore/threads/threadresults.nim b/datastore/threads/threadresults.nim index 1a5e326..912a43a 100644 --- a/datastore/threads/threadresults.nim +++ b/datastore/threads/threadresults.nim @@ -54,11 +54,9 @@ proc threadSafeType*[T: ThreadSafeTypes](tp: typedesc[T]) = proc newThreadResult*[T]( tp: typedesc[T] ): Future[TResult[T]] {.async.} = - ## Creates a new TResult including allocating - ## a new ThreadSignalPtr. + ## Creates a new TResult including getting + ## a new ThreadSignalPtr from the pool. ## - ## Since allocating the TSP can fail, this returns - ## a Result. mixin threadSafeType when not compiles(threadSafeType): {.error: "only thread safe types can be used".}