summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2021-06-10 09:25:51 +0200
committerGitHub <noreply@github.com>2021-06-10 09:25:51 +0200
commit0a4858dc59b1464d4057822d60e888fa4403223e (patch)
tree0ab67c4d3321e5e95bd5e5aed34d7601ca04aead /lib
parent79ded694d7f913755dc7261c7468f04fe421e0b3 (diff)
downloadNim-0a4858dc59b1464d4057822d60e888fa4403223e.tar.gz
fixes #18220 (#18227)
Diffstat (limited to 'lib')
-rw-r--r--lib/pure/hashes.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/hashes.nim b/lib/pure/hashes.nim
index 46b4fc948..1c49b0317 100644
--- a/lib/pure/hashes.nim
+++ b/lib/pure/hashes.nim
@@ -509,7 +509,7 @@ proc hashIgnoreCase*(sBuf: string, sPos, ePos: int): Hash =
     h = h !& ord(c)
   result = !$h
 
-proc hash*[T: tuple | object | proc](x: T): Hash {.inline.} =
+proc hash*[T: tuple | object | proc](x: T): Hash =
   ## Efficient `hash` overload.
   runnableExamples:
     # for `tuple|object`, `hash` must be defined for each component of `x`.