mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-18 05:42:09 +01:00
fn: fix documentation comment for Option
Remove the type generic from the `Option` type struct in the doc comment.
This commit is contained in:
parent
c49d038540
commit
71298f7614
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user