summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorDominik Picheta <dominikpicheta@googlemail.com>2017-10-15 13:12:20 +0100
committerGitHub <noreply@github.com>2017-10-15 13:12:20 +0100
commit4789aa979dd43a83ffcb9eeefdc0420a0dbd7589 (patch)
treefc9b6f1de58c65a745b6e4c847ed3649ac2ae3c4 /lib
parente6f0bff6dd6ee6735995d4d470335d83a46cd12a (diff)
downloadNim-4789aa979dd43a83ffcb9eeefdc0420a0dbd7589.tar.gz
Little spelling fix in unicode module
Diffstat (limited to 'lib')
-rw-r--r--lib/pure/unicode.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/unicode.nim b/lib/pure/unicode.nim
index 0c4f15c91..7d9c3108b 100644
--- a/lib/pure/unicode.nim
+++ b/lib/pure/unicode.nim
@@ -285,7 +285,7 @@ proc runeReverseOffset*(s: string, rev:Positive): (int, int) =
 
 proc runeSubStr*(s: string, pos:int, len:int = int.high): string =
   ## Returns the UTF-8 substring starting at codepoint pos
-  ## with len codepoints. If pos or len is negativ they count from
+  ## with len codepoints. If pos or len is negative they count from
   ## the end of the string. If len is not given it means the longest
   ## possible string.
   ##