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

@ -324,15 +324,15 @@ block t6691:
block t6782:
type
Reader = concept c
c.read(openarray[byte], int, int) is int
c.read(openArray[byte], int, int) is int
Rdr = concept c
c.rd(openarray[byte], int, int) is int
c.rd(openArray[byte], int, int) is int
type TestFile = object
proc read(r: TestFile, dest: openarray[byte], offset: int, limit: int): int =
proc read(r: TestFile, dest: openArray[byte], offset: int, limit: int): int =
result = 0
proc rd(r: TestFile, dest: openarray[byte], offset: int, limit: int): int =
proc rd(r: TestFile, dest: openArray[byte], offset: int, limit: int): int =
result = 0
doAssert TestFile is Reader