Skip to content

Commit 71298f7

Browse files
committed
fn: fix documentation comment for Option
Remove the type generic from the `Option` type struct in the doc comment.
1 parent c49d038 commit 71298f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fn/option.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ package fn
22

33
import "testing"
44

5-
// Option[A] represents a value which may or may not be there. This is very
6-
// often preferable to nil-able pointers.
5+
// Option represents a value which may or may not be there. This is very often
6+
// preferable to nil-able pointers.
77
type Option[A any] struct {
88
isSome bool
99
some A

0 commit comments

Comments
 (0)