mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-12 04:09:34 +00:00
4 lines
167 B
Nim
4 lines
167 B
Nim
# Helper for tgenericoffer.nim: a distinct type whose `==` lives in THIS module.
|
|
type MultiCodec* = distinct int
|
|
proc `==`*(a, b: MultiCodec): bool = int(a) == int(b)
|