fn: fix documentation comment for Option

Remove the type generic from the `Option` type struct in the doc
comment.
This commit is contained in:
ffranr
2024-10-25 16:30:59 +01:00
parent c49d038540
commit 71298f7614

View File

@ -2,8 +2,8 @@ package fn
import "testing" import "testing"
// Option[A] represents a value which may or may not be there. This is very // Option represents a value which may or may not be there. This is very often
// often preferable to nil-able pointers. // preferable to nil-able pointers.
type Option[A any] struct { type Option[A any] struct {
isSome bool isSome bool
some A some A