From 71298f7614368e1aecdbb2f5cb1993cec6bf1cff Mon Sep 17 00:00:00 2001 From: ffranr Date: Fri, 25 Oct 2024 16:30:59 +0100 Subject: [PATCH] fn: fix documentation comment for Option Remove the type generic from the `Option` type struct in the doc comment. --- fn/option.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fn/option.go b/fn/option.go index 60e64cf3c..f1a6c858c 100644 --- a/fn/option.go +++ b/fn/option.go @@ -2,8 +2,8 @@ package fn import "testing" -// Option[A] represents a value which may or may not be there. This is very -// 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. type Option[A any] struct { isSome bool some A