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

@ -39,9 +39,9 @@ proc main =
main()
# Test: pass var seq to var openarray
# Test: pass var seq to var openArray
var s = @[2, 1]
proc foo(a: var openarray[int]) = a[0] = 123
proc foo(a: var openArray[int]) = a[0] = 123
proc bar(s: var seq[int], a: int) =
doAssert(a == 5)