rust/library/core
Samuel Tardieu 010e3ef113
Rollup merge of #143941 - folkertdev:cfg-select-docs, r=traviscross
update `cfg_select!` documentation

tracking issue: https://github.com/rust-lang/rust/issues/115585

After rust-lang/rust#143461, and with an eye on a soon(ish) stabilization, I think the docs need some work.

The existing text read more like a motivation for the feature existing to me, so I've tried to now be a bit more descriptive. Still, suggestions are very welcome.

I also added a test for an empty `select! {}` because it's just the sort of thing that might break.

r? ``@traviscross``
2025-07-15 12:52:44 +02:00
..
src Rollup merge of #143941 - folkertdev:cfg-select-docs, r=traviscross 2025-07-15 12:52:44 +02:00
Cargo.toml Add opaque TypeId handles for CTFE 2025-07-09 16:37:11 +00:00