summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authorMiran <narimiran@disroot.org>2020-06-17 15:25:02 +0200
committerGitHub <noreply@github.com>2020-06-17 15:25:02 +0200
commite7f280bd26a54b4f187b087c8d35f43f0e6328c7 (patch)
tree59ceb2dc34d14e8b983722ef9092632737d3a033 /doc
parent861953429362d72a76fe3768a25db3f8a1cf70ee (diff)
downloadNim-e7f280bd26a54b4f187b087c8d35f43f0e6328c7.tar.gz
Remove deprecated stuff from stdlib (#14699)
* update to the latest Jester

* remove deprecated procs from some stdlib modules

* 'criterion' is not maintained anymore and relies on obsolete stuff
Diffstat (limited to 'doc')
-rw-r--r--doc/backends.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/backends.rst b/doc/backends.rst
index d34a06238..e46941a12 100644
--- a/doc/backends.rst
+++ b/doc/backends.rst
@@ -367,7 +367,7 @@ A similar thing happens with C code invoking Nim code which returns a
 .. code-block:: nim
 
   proc gimme(): cstring {.exportc.} =
-    result = "Hey there C code! " & $random(100)
+    result = "Hey there C code! " & $rand(100)
 
 Since Nim's garbage collector is not aware of the C code, once the
 ``gimme`` proc has finished it can reclaim the memory of the ``cstring``.