From 4e8664e5288da0fbc295c265b0f3c1d79343b444 Mon Sep 17 00:00:00 2001 From: jinyong Date: Tue, 8 Aug 2023 02:36:06 +0900 Subject: [PATCH] Fix comment for bit list explanation --- bitlist.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitlist.go b/bitlist.go index 4728188..9d8fef2 100644 --- a/bitlist.go +++ b/bitlist.go @@ -14,7 +14,7 @@ var _ = Bitfield(Bitlist{}) // byte{0b00001000} is a bitlist with 3 bits which are all zero. bits=[0,0,0] // byte{0b00011111} is a bitlist with 4 bits which are all one. bits=[1,1,1,1] // byte{0b00011000, 0b00000001} is a bitlist with 8 bits. bits=[0,0,0,1,1,0,0,0] -// byte{0b00011000, 0b00000010} is a bitlist with 9 bits. bits=[0,0,0,0,1,1,0,0,0] +// byte{0b00011000, 0b00000010} is a bitlist with 9 bits. bits=[0,0,0,1,1,0,0,0,0] type Bitlist []byte // NewBitlist creates a new bitlist of size N.