1
Fork 0

replaces few consts with statics to reduce readonly section

This commit is contained in:
klensy 2025-01-28 17:38:22 +03:00
parent 633a3fe36d
commit dc62b8fd11
7 changed files with 15 additions and 15 deletions

View file

@ -14,7 +14,7 @@ macro_rules! declare_features {
$(#[doc = $doc:tt])* (removed, $feature:ident, $ver:expr, $issue:expr, $reason:expr),
)+) => {
/// Formerly unstable features that have now been removed.
pub const REMOVED_LANG_FEATURES: &[RemovedFeature] = &[
pub static REMOVED_LANG_FEATURES: &[RemovedFeature] = &[
$(RemovedFeature {
feature: Feature {
name: sym::$feature,