diff options
Diffstat (limited to 'doc/docgen_sample.nim')
-rw-r--r-- | doc/docgen_sample.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/docgen_sample.nim b/doc/docgen_sample.nim index 875993187..7a167cb45 100644 --- a/doc/docgen_sample.nim +++ b/doc/docgen_sample.nim @@ -4,9 +4,9 @@ import strutils proc helloWorld*(times: int) = ## Takes an integer and outputs - ## as many "hello world!"s + ## as many indented "hello world!"s for i in 0 .. times-1: - echo "hello world!" + echo "hello world!".indent(2) # using indent to avoid `UnusedImport` helloWorld(5) |