We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c49d038 commit 71298f7Copy full SHA for 71298f7
fn/option.go
@@ -2,8 +2,8 @@ package fn
2
3
import "testing"
4
5
-// Option[A] represents a value which may or may not be there. This is very
6
-// often preferable to nil-able pointers.
+// Option represents a value which may or may not be there. This is very often
+// preferable to nil-able pointers.
7
type Option[A any] struct {
8
isSome bool
9
some A
0 commit comments