make deprecated message better (#18737)

This commit is contained in:
flywind
2021-08-24 02:13:10 +08:00
committed by GitHub
parent 8a8267e2bc
commit 9674ff4361

View File

@@ -8,7 +8,7 @@
## random number generator.
## .. note:: The procs in this module work at compile-time.
{.deprecated: "use `std/random` instead.".}
{.deprecated: "use `std/random` instead".}
runnableExamples:
var rand = newMersenneTwister(uint32.high) ## must be "var"