diff options
author | Miran <narimiran@disroot.org> | 2020-11-10 21:53:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-10 21:53:25 +0100 |
commit | bbe49a14ae827b6474d692042406716a3b3dd71f (patch) | |
tree | 87408943da9ab5e805a17532bdcdb6f033df5f68 /lib/core | |
parent | bc3c0487d3059900864d6e8074cf83555a5c446d (diff) | |
download | Nim-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.nim | 4 |
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`. |