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

@ -163,7 +163,7 @@ when true: #embeddingTest
"""
# Expression template
proc test_expression(nums: openarray[int] = []): string =
proc test_expression(nums: openArray[int] = []): string =
var i = 2
tmpli html"""
$(no_substitution())
@ -171,7 +171,7 @@ when true: #embeddingTest
<div id="age">Age: $($nums[i] & "!!")</div>
"""
proc test_statements(nums: openarray[int] = []): string =
proc test_statements(nums: openArray[int] = []): string =
tmpli html"""
$(test_expression(nums))
$if true {