Skip to content

Commit

Permalink
Merge pull request #9 from mdlayher/one-bit
Browse files Browse the repository at this point in the history
Explicitly declare One as type Bit instead of bool
  • Loading branch information
dgryski committed Apr 13, 2018
2 parents 9f22ccc + 4b84337 commit 3522498
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bitstream.go
Expand Up @@ -12,7 +12,7 @@ const (
// Zero is our exported type for '0' bits
Zero Bit = false
// One is our exported type for '1' bits
One = true
One Bit = true
)

// A BitReader reads bits from an io.Reader
Expand Down

0 comments on commit 3522498

Please sign in to comment.