diff options
author | Federico Ceratto <federico.ceratto@gmail.com> | 2018-11-04 07:36:13 +0000 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-11-04 08:36:13 +0100 |
commit | 62693457df0233c5f53154231922a3d28818c603 (patch) | |
tree | 0e3ea5f294ddf3002746cb69d0cbe3062ba60e35 /lib | |
parent | 2eff0ca2b8223150eb86ef7ec6824a01d0a28893 (diff) | |
download | Nim-62693457df0233c5f53154231922a3d28818c603.tar.gz |
Add 'dedent' to documentation index (#9615)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pure/strutils.nim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/pure/strutils.nim b/lib/pure/strutils.nim index d3d2fe8a0..fabb3f9f4 100644 --- a/lib/pure/strutils.nim +++ b/lib/pure/strutils.nim @@ -1262,6 +1262,7 @@ proc indent*(s: string, count: Natural, padding: string = " "): string proc unindent*(s: string, count: Natural, padding: string = " "): string {.noSideEffect, rtl, extern: "nsuUnindent".} = ## Unindents each line in ``s`` by ``count`` amount of ``padding``. + ## Sometimes called `dedent`:idx: ## ## **Note:** This does not preserve the new line characters used in ``s``. runnableExamples: |