Scott McMurray
bb5ac03edb
Refactor: VariantIdx::from_u32(0) -> FIRST_VARIANT
...
Since structs are always `VariantIdx(0)`, there's a bunch of files where the only reason they had `VariantIdx` or `vec::Idx` imported at all was to get the first variant.
So this uses a constant for that, and adds some doc-comments to `VariantIdx` while I'm there, since it doesn't have any today.
2023-03-25 18:58:25 -07:00
..
2023-03-15 14:41:48 +00:00
2023-03-15 14:41:48 +00:00
2023-03-15 14:41:48 +00:00
2023-03-22 15:15:41 -07:00
2023-01-24 18:56:42 +01:00
2023-03-09 19:21:44 -05:00
2023-03-15 14:41:48 +00:00
2022-11-26 19:35:32 +00:00
2023-03-25 18:58:25 -07:00
2023-03-15 14:41:48 +00:00
2023-03-15 14:41:48 +00:00
2023-03-15 14:41:48 +00:00
2023-03-15 14:41:48 +00:00
2023-03-15 14:41:48 +00:00
2023-02-09 12:38:16 +01:00
2023-03-15 14:41:48 +00:00
2022-12-14 19:30:46 +01:00
2023-03-15 14:41:48 +00:00
2023-03-15 14:41:48 +00:00
2023-03-25 18:58:25 -07:00
2021-04-30 14:49:58 +02:00
2023-03-15 14:41:48 +00:00
2023-03-15 21:31:06 +00:00
2023-03-15 14:41:48 +00:00
2023-03-15 14:41:48 +00:00
2022-08-24 18:40:58 +02:00
2022-08-24 18:40:58 +02:00
2023-03-25 18:58:25 -07:00
2023-03-15 14:41:48 +00:00
2023-03-20 15:32:21 +08:00