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

@ -210,12 +210,12 @@ const
"::a:b:85:e4d9:252.9.229.056",
]
proc ok(pos: openarray[string]) =
proc ok(pos: openArray[string]) =
for p in pos:
if not isIpAddress(p):
echo "failure ", p
proc notok(neg: openarray[string]) =
proc notok(neg: openArray[string]) =
for n in neg:
if isIpAddress(n):
echo "failure ", n