fix a typo (rename temporal to temporary (#18892) [backport]

This commit is contained in:
flywind
2021-09-24 22:34:12 +08:00
committed by GitHub
parent 7e5eab571e
commit 4adada0d80

View File

@@ -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.
##