summary refs log tree commit diff stats
path: root/lib/posix
diff options
context:
space:
mode:
authorkonsumlamm <44230978+konsumlamm@users.noreply.github.com>2021-03-10 19:39:23 +0100
committerGitHub <noreply@github.com>2021-03-10 10:39:23 -0800
commit9819fb21d8db818c0b3027d4e6ba58dc550b77c0 (patch)
treec96be69e439f34b4f191ec5a25ce6ef7b2e0d766 /lib/posix
parenteb07a5a75b63110642c5ce6f9126c9c8af231a64 (diff)
downloadNim-9819fb21d8db818c0b3027d4e6ba58dc550b77c0.tar.gz
Use `.. warning::` (#17320)
Diffstat (limited to 'lib/posix')
-rw-r--r--lib/posix/posix.nim12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/posix/posix.nim b/lib/posix/posix.nim
index af3b7ea23..520d0caa0 100644
--- a/lib/posix/posix.nim
+++ b/lib/posix/posix.nim
@@ -1048,16 +1048,16 @@ proc realpath*(name, resolved: cstring): cstring {.
 proc mkstemp*(tmpl: cstring): cint {.importc, header: "<stdlib.h>", sideEffect.}
   ## Creates a unique temporary file.
   ##
-  ## **Warning**: The `tmpl` argument is written to by `mkstemp` and thus
-  ## can't be a string literal. If in doubt make a copy of the cstring before
-  ## passing it in.
+  ## .. warning:: The `tmpl` argument is written to by `mkstemp` and thus
+  ##   can't be a string literal. If in doubt make a copy of the cstring before
+  ##   passing it in.
 
 proc mkstemps*(tmpl: cstring, suffixlen: int): cint {.importc, header: "<stdlib.h>", sideEffect.}
   ## Creates a unique temporary file.
   ##
-  ## **Warning**: The `tmpl` argument is written to by `mkstemps` and thus
-  ## can't be a string literal. If in doubt make a copy of the cstring before
-  ## passing it in.
+  ## .. warning:: The `tmpl` argument is written to by `mkstemps` and thus
+  ##   can't be a string literal. If in doubt make a copy of the cstring before
+  ##   passing it in.
 
 proc mkdtemp*(tmpl: cstring): pointer {.importc, header: "<stdlib.h>", sideEffect.}