minor typo (#16225)
This commit is contained in:
parent
cabfc7ec5c
commit
9fa5826d62
1 changed files with 1 additions and 1 deletions
|
|
@ -447,7 +447,7 @@ proc newConfig*(): Config =
|
||||||
result = newOrderedTable[string, <//>OrderedTableRef[string, string]]()
|
result = newOrderedTable[string, <//>OrderedTableRef[string, string]]()
|
||||||
|
|
||||||
proc loadConfig*(stream: Stream, filename: string = "[stream]"): <//>Config =
|
proc loadConfig*(stream: Stream, filename: string = "[stream]"): <//>Config =
|
||||||
## Loadw the specified configuration from stream into a new Config instance.
|
## Loads the specified configuration from stream into a new Config instance.
|
||||||
## `filename` parameter is only used for nicer error messages.
|
## `filename` parameter is only used for nicer error messages.
|
||||||
var dict = newOrderedTable[string, <//>OrderedTableRef[string, string]]()
|
var dict = newOrderedTable[string, <//>OrderedTableRef[string, string]]()
|
||||||
var curSection = "" ## Current section,
|
var curSection = "" ## Current section,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue