style usages part one (openarray => openArray) (#19321)
* style usages (openArray) * revert doc changes
This commit is contained in:
parent
1869826668
commit
9df195ef58
49 changed files with 76 additions and 76 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue