replaces few consts with statics to reduce readonly section
This commit is contained in:
parent
633a3fe36d
commit
dc62b8fd11
7 changed files with 15 additions and 15 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue