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
|
@ -317,7 +317,7 @@ pub struct BuiltinAttribute {
|
|||
|
||||
/// Attributes that have a special meaning to rustc or rustdoc.
|
||||
#[rustfmt::skip]
|
||||
pub const BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[
|
||||
pub static BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[
|
||||
// ==========================================================================
|
||||
// Stable attributes:
|
||||
// ==========================================================================
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue