mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-20 16:01:29 +00:00
fix a typo (rename temporal to temporary (#18892) [backport]
This commit is contained in:
@@ -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.
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user