File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -154,7 +154,6 @@ func (bq *Blocking[T]) Clear() []T {
154154}
155155
156156// Iterator returns an iterator over the elements in this queue.
157- // Iterator returns an iterator over the elements in the queue.
158157// It removes the elements from the queue.
159158func (bq * Blocking [T ]) Iterator () <- chan T {
160159 bq .lock .RLock ()
Original file line number Diff line number Diff line change @@ -761,12 +761,12 @@ func TestBlocking(t *testing.T) {
761761 })
762762}
763763
764- // failMarshal is a helper to fail the json marshalling of the queues
764+ // failMarshal is a helper to fail the json marshalling of the queues.
765765type failMarshal struct {}
766766
767767var errFailMarshal = errors .New ("intentional marshal error" )
768768
769- func (f failMarshal ) MarshalJSON () ([]byte , error ) {
769+ func (failMarshal ) MarshalJSON () ([]byte , error ) {
770770 return nil , errFailMarshal
771771}
772772
You can’t perform that action at this time.
0 commit comments