Skip to main content

STATIC_LIFETIME_IDENT

Constant STATIC_LIFETIME_IDENT 

Source
pub(crate) const STATIC_LIFETIME_IDENT: &str = "static_lifetime";
Expand description

The Ident a contract uses for the 'static lifetime. 'static is a Rust keyword, so after the leading ' is stripped it cannot be a plain ident token; the attribute and JSON parsers map it to this name.