forked from boyska/circolog
Typo in comment
This commit is contained in:
parent
d61ab0638f
commit
dfe1e60146
1 changed files with 1 additions and 1 deletions
2
hub.go
2
hub.go
|
@ -135,7 +135,7 @@ func (h *Hub) Run() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Clear removes every all elements from the buffer
|
// Clear removes all elements from the buffer
|
||||||
func (h *Hub) clear() {
|
func (h *Hub) clear() {
|
||||||
buf := h.circbuf
|
buf := h.circbuf
|
||||||
for i := 0; i < buf.Len(); i++ {
|
for i := 0; i < buf.Len(); i++ {
|
||||||
|
|
Loading…
Reference in a new issue