From d0470fca92b68b8ea78946a8544fcc917ff6109d Mon Sep 17 00:00:00 2001 From: Yu-Vitaqua-fer-Chronos Date: Fri, 15 Dec 2023 19:37:57 +0000 Subject: [PATCH] Fix docs --- src/nulid.nim | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/nulid.nim b/src/nulid.nim index 01d37ea..8a6a23f 100644 --- a/src/nulid.nim +++ b/src/nulid.nim @@ -176,6 +176,9 @@ proc wait(gen: ULIDGenerator): int64 {.gcsafe.} = proc ulid*(gen: ULIDGenerator, timestamp = LowInt48, randomness = LowUint80): ULID {.gcsafe.} = ## Generate a `ULID`, if timestamp is equal to `0`, the `randomness` parameter ## will be ignored. + ## + ## See also: + ## * `ulid(int64, UInt128) <#ulid_2>`_ runnableExamples: let gen = initUlidGenerator() @@ -208,7 +211,7 @@ proc ulid*(timestamp = LowInt48, randomness = LowUint80): ULID = ## Generate a `ULID` using the global generator. ## ## See also: - ## * `ulid(ULIDGenerator, int64, UInt128) <#ulid,ULIDGenerator,int64>`_ + ## * `ulid(ULIDGenerator, int64, UInt128) <#ulid,ULIDGenerator>`_ runnableExamples: echo ulid()