summary refs log tree commit diff stats
path: root/lib/system.nim
diff options
context:
space:
mode:
authorNindaleth <Nindaleth@users.noreply.github.com>2019-10-30 09:08:45 +0100
committerMiran <narimiran@disroot.org>2019-10-30 09:08:45 +0100
commit34dbc5699e8cb36e26bad5a57edc972b82f26c5f (patch)
treede04803327f19ef69b46ca46b4e16a09f77fa6d1 /lib/system.nim
parent1214960a1bde9b45c76caaff0cdea7d2d753b205 (diff)
downloadNim-34dbc5699e8cb36e26bad5a57edc972b82f26c5f.tar.gz
fix several typos in documentation and comments (#12553)
Diffstat (limited to 'lib/system.nim')
-rw-r--r--lib/system.nim8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/system.nim b/lib/system.nim
index 663ac1f66..54ced6c7c 100644
--- a/lib/system.nim
+++ b/lib/system.nim
@@ -800,7 +800,7 @@ type
     ## Raised if an array index is out of bounds.
 
   FieldError* = object of Defect ## \
-    ## Raised if a record field is not accessible because its dicriminant's
+    ## Raised if a record field is not accessible because its discriminant's
     ## value does not fit.
   RangeError* = object of Defect ## \
     ## Raised if a range check error occurred.
@@ -1646,7 +1646,7 @@ proc `+`*[T](x, y: set[T]): set[T] {.magic: "PlusSet", noSideEffect.}
   ##     b = {2, 3, 4}
   ##   echo a + b # => {1, 2, 3, 4}
 proc `-`*[T](x, y: set[T]): set[T] {.magic: "MinusSet", noSideEffect.}
-  ## This operator computes the diference of two sets.
+  ## This operator computes the difference of two sets.
   ##
   ## .. code-block:: Nim
   ##   let
@@ -2230,13 +2230,13 @@ type
 
   BiggestInt* = int64
     ## is an alias for the biggest signed integer type the Nim compiler
-    ## supports. Currently this is ``int64``, but it is platform-dependant
+    ## supports. Currently this is ``int64``, but it is platform-dependent
     ## in general.
 
   BiggestFloat* = float64
     ## is an alias for the biggest floating point type the Nim
     ## compiler supports. Currently this is ``float64``, but it is
-    ## platform-dependant in general.
+    ## platform-dependent in general.
 
 when defined(JS):
   type BiggestUInt* = uint32