diff options
Diffstat (limited to 'lib/system')
-rw-r--r-- | lib/system/gc_common.nim | 4 | ||||
-rw-r--r-- | lib/system/nimscript.nim | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/system/gc_common.nim b/lib/system/gc_common.nim index 013dc55f8..a4676d26e 100644 --- a/lib/system/gc_common.nim +++ b/lib/system/gc_common.nim @@ -91,7 +91,7 @@ when allowForeignThreadGc: ## this thread will only be initialized once per thread, no matter how often ## it is called. ## - ## This function is availble only when ``--threads:on`` and ``--tlsEmulation:off`` + ## This function is available only when ``--threads:on`` and ``--tlsEmulation:off`` ## switches are used if not localGcInitialized: localGcInitialized = true @@ -100,7 +100,7 @@ when allowForeignThreadGc: initGC() else: template setupForeignThreadGc*(): stmt = - {.error: "setupForeignThreadGc is availble only when ``--threads:on`` and ``--tlsEmulation:off`` are used".} + {.error: "setupForeignThreadGc is available only when ``--threads:on`` and ``--tlsEmulation:off`` are used".} # ----------------- stack management -------------------------------------- # inspired from Smart Eiffel diff --git a/lib/system/nimscript.nim b/lib/system/nimscript.nim index 772d25343..d587d772f 100644 --- a/lib/system/nimscript.nim +++ b/lib/system/nimscript.nim @@ -74,7 +74,7 @@ proc getEnv*(key: string): string {.tags: [ReadIOEffect].} = builtin proc existsEnv*(key: string): bool {.tags: [ReadIOEffect].} = - ## Checks for the existance of an environment variable named `key`. + ## Checks for the existence of an environment variable named `key`. builtin proc fileExists*(filename: string): bool {.tags: [ReadIOEffect].} = @@ -189,7 +189,7 @@ proc get*(key: string): string = builtin proc exists*(key: string): bool = - ## Checks for the existance of a configuration 'key' + ## Checks for the existence of a configuration 'key' ## like 'gcc.options.always'. builtin |