summary refs log tree commit diff stats
path: root/lib/core
diff options
context:
space:
mode:
authorMiran <narimiran@disroot.org>2020-11-10 21:53:25 +0100
committerGitHub <noreply@github.com>2020-11-10 21:53:25 +0100
commitbbe49a14ae827b6474d692042406716a3b3dd71f (patch)
tree87408943da9ab5e805a17532bdcdb6f033df5f68 /lib/core
parentbc3c0487d3059900864d6e8074cf83555a5c446d (diff)
downloadNim-bbe49a14ae827b6474d692042406716a3b3dd71f.tar.gz
Correct all eggs (#15906)
* "eg" is a misspelled "egg", "e.g." is "exempli gratia"
* Also, "ie" is "i.e.".
Diffstat (limited to 'lib/core')
-rw-r--r--lib/core/macros.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/core/macros.nim b/lib/core/macros.nim
index e4a56d6f9..d2985bc72 100644
--- a/lib/core/macros.nim
+++ b/lib/core/macros.nim
@@ -160,7 +160,7 @@ proc `==`*(a, b: NimSym): bool {.magic: "EqNimrodNode", noSideEffect, deprecated
 
 proc sameType*(a, b: NimNode): bool {.magic: "SameNodeType", noSideEffect.} =
   ## Compares two Nim nodes' types. Return true if the types are the same,
-  ## eg. true when comparing alias with original type.
+  ## e.g. true when comparing alias with original type.
   discard
 
 proc len*(n: NimNode): int {.magic: "NLen", noSideEffect.}
@@ -280,7 +280,7 @@ else: # bootstrapping substitute
 when (NimMajor, NimMinor, NimPatch) >= (1, 3, 5) or defined(nimSymImplTransform):
   proc getImplTransformed*(symbol: NimNode): NimNode {.magic: "GetImplTransf", noSideEffect.}
     ## For a typed proc returns the AST after transformation pass; this is useful
-    ## for debugging how the compiler transforms code (eg: `defer`, `for`) but
+    ## for debugging how the compiler transforms code (e.g.: `defer`, `for`) but
     ## note that code transformations are implementation dependent and subject to change.
     ## See an example in `tests/macros/tmacros_various.nim`.