فهرست منبع

Iterate has one 't'

Kevin Gillette 13 سال پیش
والد
کامیت
c147a86b15
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      bitlist.go

+ 2 - 2
bitlist.go

@@ -93,8 +93,8 @@ func (bl *BitList) GetBytes() []byte {
 	return result
 }
 
-// itterates through all bytes contained in the BitList
-func (bl *BitList) ItterateBytes() <-chan byte {
+// iterates through all bytes contained in the BitList
+func (bl *BitList) IterateBytes() <-chan byte {
 	res := make(chan byte)
 
 	go func() {