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
commit 4adada0d80
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2039,7 +2039,7 @@ func countLines*(s: string): int {.rtl, extern: "nsuCountLines".} =
## Returns the number of lines in the string `s`. ## Returns the number of lines in the string `s`.
## ##
## This is the same as `len(splitLines(s))`, but much more efficient ## 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>`_ ## `character literal <manual.html#lexical-analysis-character-literals>`_
## newline combination (CR, LF, CR-LF) is supported. ## newline combination (CR, LF, CR-LF) is supported.
## ##