summary refs log tree commit diff stats
path: root/lib/pure/strutils.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2011-02-06 15:39:06 +0100
committerAraq <rumpf_a@web.de>2011-02-06 15:39:06 +0100
commit783273032f13a504f16cf5bb68381e3d601c52d0 (patch)
tree9abd2c04a1c2d9ed02143ff1fe4663ae1f8e45c1 /lib/pure/strutils.nim
parent0117f494ec5da443cb7ec0bb8c2028b129b451fb (diff)
downloadNim-783273032f13a504f16cf5bb68381e3d601c52d0.tar.gz
documentation improvements
Diffstat (limited to 'lib/pure/strutils.nim')
-rwxr-xr-xlib/pure/strutils.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/pure/strutils.nim b/lib/pure/strutils.nim
index 6a7f128c5..d7b457263 100755
--- a/lib/pure/strutils.nim
+++ b/lib/pure/strutils.nim
@@ -205,6 +205,7 @@ proc `%` *(formatstr: string, a: openarray[string]): string {.noSideEffect,
   ##

   ## The substitution variables (the thing after the ``$``) are enumerated

   ## from 1 to ``a.len``.

+  ## To produce a verbatim ``$``, use ``$$``.

   ## The notation ``$#`` can be used to refer to the next substitution variable:

   ##

   ## .. code-block:: nimrod