make more parts of the stdlib compile with --styleCheck:error
This commit is contained in:
parent
6663dbbe57
commit
bc7733827d
17 changed files with 98 additions and 98 deletions
|
|
@ -102,7 +102,7 @@ proc newHttpHeaders*(): HttpHeaders =
|
|||
result.table = newTable[string, seq[string]]()
|
||||
|
||||
proc newHttpHeaders*(keyValuePairs:
|
||||
openarray[tuple[key: string, val: string]]): HttpHeaders =
|
||||
openArray[tuple[key: string, val: string]]): HttpHeaders =
|
||||
var pairs: seq[tuple[key: string, val: seq[string]]] = @[]
|
||||
for pair in keyValuePairs:
|
||||
pairs.add((pair.key.toLowerAscii(), @[pair.val]))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue