diff options
Diffstat (limited to 'include/zix/bitset.h')
-rw-r--r-- | include/zix/bitset.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/zix/bitset.h b/include/zix/bitset.h index 9b4dc89..dcb1b93 100644 --- a/include/zix/bitset.h +++ b/include/zix/bitset.h @@ -52,7 +52,7 @@ zix_bitset_reset(ZixBitset* ZIX_NONNULL b, ZixBitsetTally* ZIX_NONNULL t, size_t i); -/// Return the `i`th bit in `t` +/// Return the bit at index `i` in `b` ZIX_PURE_API bool zix_bitset_get(const ZixBitset* ZIX_NONNULL b, size_t i); @@ -66,7 +66,7 @@ zix_bitset_count_up_to(const ZixBitset* ZIX_NONNULL b, /** Return the number of set bits in `b` up to bit `i` (non-inclusive) if bit - `i` is set, or (size_t)-1 otherwise. + `i` is set, or `(size_t)-1` otherwise. */ ZIX_PURE_API size_t |