summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2017-12-03 15:20:50 +0100
committerAraq <rumpf_a@web.de>2017-12-03 15:20:50 +0100
commit9820c2c4561ee56f30c1578672dd1247be25cb11 (patch)
tree76ca2d6bb7469831d5de214fd6d970064416c1de
parenta0699870e37f392b8e61ea5bb5216856f720a3ee (diff)
downloadNim-9820c2c4561ee56f30c1578672dd1247be25cb11.tar.gz
bitops: add 'hamming weight' to the doc index
-rw-r--r--lib/pure/bitops.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/bitops.nim b/lib/pure/bitops.nim
index d1207603d..3f213c5ea 100644
--- a/lib/pure/bitops.nim
+++ b/lib/pure/bitops.nim
@@ -181,7 +181,7 @@ elif useICC_builtins:
 
 
 proc countSetBits*(x: SomeInteger): int {.inline, nosideeffect.} =
-  ## Counts the set bits in integer. (also called Hamming weight.)
+  ## Counts the set bits in integer. (also called `Hamming weight`:idx:.)
   # TODO: figure out if ICC support _popcnt32/_popcnt64 on platform without POPCNT.
   # like GCC and MSVC
   when nimvm: