sux-rs icon indicating copy to clipboard operation
sux-rs copied to clipboard

`bit_field_vec![a; b]` is ambiguous

Open RagnarGrootKoerkamp opened this issue 1 year ago • 7 comments

I naively wrote bit_field_vec~[0; n], thinking it works like a vec, but of course that is wrong and I meant something like [lgn; 0; n] as arguments. Maybe the syntax could somehow be changed to remove this ambiguity? (But I don't have a proper suggestion, and once I'm used to it the current is probably fine anyway.)

RagnarGrootKoerkamp avatar Aug 10 '24 02:08 RagnarGrootKoerkamp