diff options
author | flywind <xzsflywind@gmail.com> | 2021-09-24 22:34:12 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-24 16:34:12 +0200 |
commit | 4adada0d8016016104d6259a1167a7f8b37f1611 (patch) | |
tree | 3e3c279826a8cba9ec6280af65064ba8b471b1b1 | |
parent | 7e5eab571e6e8e57928b40f535802aec04e04633 (diff) | |
download | Nim-4adada0d8016016104d6259a1167a7f8b37f1611.tar.gz |
fix a typo (rename `temporal` to `temporary` (#18892) [backport]
-rw-r--r-- | lib/pure/strutils.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/strutils.nim b/lib/pure/strutils.nim index 3179c73d2..873949ca6 100644 --- a/lib/pure/strutils.nim +++ b/lib/pure/strutils.nim @@ -2039,7 +2039,7 @@ func countLines*(s: string): int {.rtl, extern: "nsuCountLines".} = ## Returns the number of lines in the string `s`. ## ## This is the same as `len(splitLines(s))`, but much more efficient - ## because it doesn't modify the string creating temporal objects. Every + ## because it doesn't modify the string creating temporary objects. Every ## `character literal <manual.html#lexical-analysis-character-literals>`_ ## newline combination (CR, LF, CR-LF) is supported. ## |