diff --git a/bitlist.go b/bitlist.go index 12395b9..84da288 100644 --- a/bitlist.go +++ b/bitlist.go @@ -42,9 +42,7 @@ func (b Bitlist) BitAt(idx uint64) bool { return b[idx/8]&i == i } -// SetBitAt will set the bit at the given index to the given value. If the index -// requested exceeds the number of bits in the bitlist, then this method returns -// false. +// SetBitAt will set the bit at the given index to the given value. func (b Bitlist) SetBitAt(idx uint64, val bool) { // Out of bounds, do nothing. upperBounds := b.Len() diff --git a/bitlist64.go b/bitlist64.go index 97b7614..a81bc96 100644 --- a/bitlist64.go +++ b/bitlist64.go @@ -81,7 +81,6 @@ func (b *Bitlist64) BitAt(idx uint64) bool { } // SetBitAt will set the bit at the given index to the given value. -// If the index requested exceeds the number of bits in the bitlist, then this method returns false. func (b *Bitlist64) SetBitAt(idx uint64, val bool) { // Out of bounds, do nothing. if idx >= b.size {