mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 22:12:15 +00:00
0439d13176
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. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |