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

@ -264,8 +264,8 @@ proc init*[T](hmctx: HMAC[T], key: ptr byte, ulen: uint) =
const sizeBlock = hmctx.sizeBlock
echo sizeBlock
proc hmac*[A, B](HashType: typedesc, key: openarray[A],
data: openarray[B]) =
proc hmac*[A, B](HashType: typedesc, key: openArray[A],
data: openArray[B]) =
var ctx: HMAC[HashType]
ctx.init(nil, 0)