Fix the var declaration in the README example

Fixes #30
This commit is contained in:
dualfroz committed 2026-10-02 16:28:21 +02:00
1 parent 4f79ed4130
commit 5f576f8089
1 file changed
+1 -1
+1 -1
View File
@@ -140,7 +140,7 @@ import "github.com/kelindar/bitmap"
``` ```
```go ```go
var books := bitmap.Bitmap var books bitmap.Bitmap
books.Set(300) // sets 300-th bit books.Set(300) // sets 300-th bit
books.Set(400) // sets 400-th bit books.Set(400) // sets 400-th bit
books.Set(600) // sets 600-th bit (auto-resized) books.Set(600) // sets 600-th bit (auto-resized)