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
|
|
@ -79,16 +79,16 @@ proc wantsCovariantSeq2(s: seq[AnimalRef]) =
|
|||
proc wantsCovariantSeq3(s: seq[RefAlias[Animal]]) =
|
||||
for a in s: echo a.x
|
||||
|
||||
proc wantsCovariantOpenArray(s: openarray[ref Animal]) =
|
||||
proc wantsCovariantOpenArray(s: openArray[ref Animal]) =
|
||||
for a in s: echo a.x
|
||||
|
||||
proc modifiesCovariantOpenArray(s: var openarray[ref Animal]) =
|
||||
proc modifiesCovariantOpenArray(s: var openArray[ref Animal]) =
|
||||
for a in s: echo a.x
|
||||
|
||||
proc modifiesDerivedOpenArray(s: var openarray[ref Dog]) =
|
||||
proc modifiesDerivedOpenArray(s: var openArray[ref Dog]) =
|
||||
for a in s: echo a.x
|
||||
|
||||
proc wantsNonCovariantOpenArray(s: openarray[Animal]) =
|
||||
proc wantsNonCovariantOpenArray(s: openArray[Animal]) =
|
||||
for a in s: echo a.x
|
||||
|
||||
proc wantsCovariantArray(s: array[2, ref Animal]) =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue