summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2014-07-22 20:12:36 +0200
committerAndreas Rumpf <rumpf_a@web.de>2014-07-22 20:12:36 +0200
commit024de25368390221708b1bca677ed85fa4409537 (patch)
tree031ba34119502ff7180e8b73560990fe24a69dff
parent8968b5114fcbf7c9d4052b06e2a6012aa88a757d (diff)
parentca47a0fc21277c9a868f600487e7e7dbc385662a (diff)
downloadNim-024de25368390221708b1bca677ed85fa4409537.tar.gz
Merge pull request #1394 from PavelVozenilek/patch-2
typo fix
-rw-r--r--lib/system.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system.nim b/lib/system.nim
index 2fb08563a..6e5d5ef2d 100644
--- a/lib/system.nim
+++ b/lib/system.nim
@@ -783,7 +783,7 @@ proc contains*[T](s: TSlice[T], value: T): bool {.noSideEffect, inline.} =
   result = s.a <= value and value <= s.b
 
 template `in` * (x, y: expr): expr {.immediate.} = contains(y, x)
-  ## Suger for contains
+  ## Sugar for contains
   ##
   ## .. code-block:: Nimrod
   ##   assert(1 in (1..3) == true)