summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorringabout <43030857+ringabout@users.noreply.github.com>2022-11-26 23:35:30 +0800
committerGitHub <noreply@github.com>2022-11-26 16:35:30 +0100
commit2d6c20028422fe7b60bd6d64a34978d126e5de85 (patch)
tree4f977f5bde7dad25542d6ddd6bb75be046d26c92
parent37fe9c0f3802c2b78e0ba341b4c178327c4c2f7d (diff)
downloadNim-2d6c20028422fe7b60bd6d64a34978d126e5de85.tar.gz
fixes documentation regression (#20925)
follow up https://github.com/nim-lang/Nim/pull/17004
-rw-r--r--lib/pure/cstrutils.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pure/cstrutils.nim b/lib/pure/cstrutils.nim
index 0eae00fba..c907e54d8 100644
--- a/lib/pure/cstrutils.nim
+++ b/lib/pure/cstrutils.nim
@@ -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