diff options
Diffstat (limited to 'doc/docgen_sample.nim')
-rw-r--r-- | doc/docgen_sample.nim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/docgen_sample.nim b/doc/docgen_sample.nim index 875993187..06b8d7f8e 100644 --- a/doc/docgen_sample.nim +++ b/doc/docgen_sample.nim @@ -1,12 +1,12 @@ ## This module is a sample. -import strutils +import std/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) |