Skip to content

Commit

Permalink
Fix go 1.20 specific compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
destel committed Dec 3, 2024
1 parent 96a903c commit f8e1135
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buffer.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ func PriorityQueue[A any](in <-chan Try[A], capacity int, less func(A, A) bool)
return !less(item1.Value, item2.Value)

Check warning on line 19 in buffer.go

View check run for this annotation

Codecov / codecov/patch

buffer.go#L19

Added line #L19 was not covered by tests
})

return core.CustomBuffer(in, buf)
return core.CustomBuffer[Try[A]](in, buf)

Check warning on line 22 in buffer.go

View check run for this annotation

Codecov / codecov/patch

buffer.go#L22

Added line #L22 was not covered by tests
}

0 comments on commit f8e1135

Please sign in to comment.