style usages part one (openarray => openArray) (#19321)

* style usages (openArray)

* revert doc changes
This commit is contained in:
flywind 2022-01-04 20:29:50 +08:00 • committed by GitHub
commit 9df195ef58
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
49 changed files with 76 additions and 76 deletions

View file

@ -477,7 +477,7 @@ proc writeformat(o: var Writer; b: bool; fmt: Format) =
else:
raise newException(FormatError, "Boolean values must of one of the following types: s,b,o,x,X,d,n")
proc writeformat(o: var Writer; ary: openarray[system.any]; fmt: Format) =
proc writeformat(o: var Writer; ary: openArray[system.any]; fmt: Format) =
## Write array `ary` according to format `fmt` using output object
## `o` and output function `add`.
if ary.len == 0: return
@ -657,7 +657,7 @@ proc literal[T](x: T): NimNode {.compiletime, nosideeffect.} =
result = newLit(x)
proc generatefmt(fmtstr: string;
args: var openarray[tuple[arg:NimNode, cnt:int]];
args: var openArray[tuple[arg:NimNode, cnt:int]];
arg: var int;): seq[tuple[val, fmt:NimNode]] {.compiletime.} =
## fmtstr
## the format string