From e1ad4670093698b996a2a04a2620c012b45e43eb Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Fri, 6 Oct 2023 19:30:40 +0100 Subject: [PATCH] fs: fix docs for Bits --- fs/bits.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/fs/bits.go b/fs/bits.go index 5c271e8c3..79c1b2887 100644 --- a/fs/bits.go +++ b/fs/bits.go @@ -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