fs: fix docs for Bits

This commit is contained in:
Nick Craig-Wood 2023-10-06 19:30:40 +01:00
parent 12db7b6935
commit e1ad467009

View file

@ -22,10 +22,10 @@ import (
//
// func (bitsChoices) Choices() []BitsChoicesInfo {
// return []BitsChoicesInfo{
// {uint64(0), "OFF"}, // Optional Off value - "" if not defined
// {uint64(bitA), "A"},
// {uint64(bitB), "B"},
// {uint64(bitC), "C"},
// {Bit: uint64(0), Name: "OFF"}, // Optional Off value - "" if not defined
// {Bit: uint64(bitA), Name: "A"},
// {Bit: uint64(bitB), Name: "B"},
// {Bit: uint64(bitC), Name: "C"},
// }
// }
type Bits[C BitsChoices] uint64