Skip to content

Commit 30a22c6

Browse files
committed
style(linting): fix linting issues
1 parent 1a2d28e commit 30a22c6

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

blocking.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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.
159158
func (bq *Blocking[T]) Iterator() <-chan T {
160159
bq.lock.RLock()

blocking_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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.
765765
type failMarshal struct{}
766766

767767
var 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

0 commit comments

Comments
 (0)