Skip to content

Commit 213b2be

Browse files
authored
terrible typo (#1498)
1 parent 0306f19 commit 213b2be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/std/system/comparisons.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# comparison operators:
22

33
# not in original nim, so that it works for generic `Ordinal` types:
4-
proc `==`*[T: Ordinal](x, y: T): bool {.magic: "LeI", noSideEffect.}
4+
proc `==`*[T: Ordinal](x, y: T): bool {.magic: "EqI", noSideEffect.}
55

66
# `enum` typeclass split here to prevent ambiguity with `Ordinal`:
77
proc `==`*[Enum: OrdinalEnum](x, y: Enum): bool {.magic: "EqEnum", noSideEffect.}

0 commit comments

Comments
 (0)