fixes documentation regression (#20925)
follow up https://github.com/nim-lang/Nim/pull/17004
This commit is contained in:
parent
37fe9c0f38
commit
2d6c200284
1 changed files with 2 additions and 2 deletions
|
|
@ -75,7 +75,7 @@ func cmpIgnoreStyle*(a, b: cstring): int {.rtl, extern: "csuCmpIgnoreStyle".} =
|
|||
## for that. Returns:
|
||||
## * 0 if `a == b`
|
||||
## * < 0 if `a < b`
|
||||
## * > 0 if `a > b`
|
||||
## * \> 0 if `a > b`
|
||||
runnableExamples:
|
||||
assert cmpIgnoreStyle(cstring"hello", cstring"H_e_L_Lo") == 0
|
||||
|
||||
|
|
@ -101,7 +101,7 @@ func cmpIgnoreCase*(a, b: cstring): int {.rtl, extern: "csuCmpIgnoreCase".} =
|
|||
## Compares two strings in a case insensitive manner. Returns:
|
||||
## * 0 if `a == b`
|
||||
## * < 0 if `a < b`
|
||||
## * > 0 if `a > b`
|
||||
## * \> 0 if `a > b`
|
||||
runnableExamples:
|
||||
assert cmpIgnoreCase(cstring"hello", cstring"HeLLo") == 0
|
||||
assert cmpIgnoreCase(cstring"echo", cstring"hello") < 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue