diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2018-01-13 10:57:51 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-01-13 10:57:51 +0100 |
commit | 38fde80b35d866ca36db680498c0f32936369c7e (patch) | |
tree | 46c4808280da1500d4141226b57283232800ff50 /lib/pure/strformat.nim | |
parent | 430a6c481e53d3c7d9e05c9d6822a3c632cdcecc (diff) | |
download | Nim-38fde80b35d866ca36db680498c0f32936369c7e.tar.gz |
strformat: fixes new 'fmt' template
Diffstat (limited to 'lib/pure/strformat.nim')
-rw-r--r-- | lib/pure/strformat.nim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/pure/strformat.nim b/lib/pure/strformat.nim index c771343c3..62b095cb1 100644 --- a/lib/pure/strformat.nim +++ b/lib/pure/strformat.nim @@ -417,6 +417,7 @@ template fmt*(pattern: string): untyped = ## ## let example = "oh, look no conflicts anymore" ## echo fmt"{example}" + bind `%` %pattern proc mkDigit(v: int, typ: char): string {.inline.} = |