Rename cfg_match! to cfg_select!
At [1] it was pointed out that `cfg_match!` syntax does not actually align well with match syntax, which is a possible source of confusion. The comment points out that usage is instead more similar to ecosystem `select!` macros. Rename `cfg_match!` to `cfg_select!` to match this. Tracking issue: https://github.com/rust-lang/rust/issues/115585 [1]: https://github.com/rust-lang/rust/issues/115585#issuecomment-2346307605
This commit is contained in:
parent
444a62712a
commit
999967a57d
20 changed files with 60 additions and 60 deletions
|
|
@ -700,8 +700,8 @@ mod panicking;
|
|||
#[allow(dead_code, unused_attributes, fuzzy_provenance_casts, unsafe_op_in_unsafe_fn)]
|
||||
mod backtrace_rs;
|
||||
|
||||
#[unstable(feature = "cfg_match", issue = "115585")]
|
||||
pub use core::cfg_match;
|
||||
#[unstable(feature = "cfg_select", issue = "115585")]
|
||||
pub use core::cfg_select;
|
||||
#[unstable(
|
||||
feature = "concat_bytes",
|
||||
issue = "87555",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue