fixed documentation formatting

This commit is contained in:
2024-08-22 16:22:54 +01:00
parent 713bfa2624
commit 4093f1893a

View File

@@ -2,8 +2,7 @@ package gubgub
// sequentialDelivery effentiently delivers a message to each subscriber sequentially. For
// performance reasons this might mutate the subscribers slice inplace. Please overwrite it with
// the result of this
// call.
// the result of this call.
func sequentialDelivery[T any](msg T, subscribers []Subscriber[T]) []Subscriber[T] {
last := len(subscribers) - 1
next := 0