summary refs log tree commit diff stats
path: root/lib/system.nim
diff options
context:
space:
mode:
authorapense <apense@users.noreply.github.com>2015-07-09 00:03:18 -0400
committerapense <apense@users.noreply.github.com>2015-07-09 00:03:18 -0400
commit5a2e575bb636b429ce0fb7c5e01e5eb067d16804 (patch)
tree5b564b6cb252046f4d9a7333f5bc7680ccb190ea /lib/system.nim
parent30737ea34b95b10cd9add766a4397b7e3934efb4 (diff)
downloadNim-5a2e575bb636b429ce0fb7c5e01e5eb067d16804.tar.gz
Doubled ticks
Diffstat (limited to 'lib/system.nim')
-rw-r--r--lib/system.nim10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/system.nim b/lib/system.nim
index 4ea880b4b..bf3e49ce1 100644
--- a/lib/system.nim
+++ b/lib/system.nim
@@ -3286,19 +3286,19 @@ when declared(initDebugger):
 when hasAlloc:
   # XXX: make these the default (or implement the NilObject optimization)
   proc safeAdd*[T](x: var seq[T], y: T) {.noSideEffect.} =
-    ## Add `y` to `x` unless `x` is not yet initialized; in that case, `x`
-    ## becomes `@[y]`
+    ## Add ``y`` to ``x`` unless ``x`` is not yet initialized; in that case, 
+    ## ``x`` becomes ``@[y]``
     if x == nil: x = @[y]
     else: x.add(y)
 
   proc safeAdd*(x: var string, y: char) =
-    ## Add `y` to `x`. If `x` is `nil` it is initialized to `""`
+    ## Add ``y`` to ``x``. If ``x`` is ``nil`` it is initialized to ``""``
     if x == nil: x = ""
     x.add(y)
 
   proc safeAdd*(x: var string, y: string) =
-    ## Add `y` to `x` unless `x` is not yet initalized; in that case, `x`
-    ## becomes `y`
+    ## Add ``y`` to ``x`` unless ``x`` is not yet initalized; in that case, ``x``
+    ## becomes ``y``
     if x == nil: x = y
     else: x.add(y)