Skip to main content

LIFETIME_TICK_RE

Static LIFETIME_TICK_RE 

Source
static LIFETIME_TICK_RE: LazyLock<Regex>
Expand description

Strips the leading ' from Rust lifetime tokens so that syn can parse them as regular identifier expressions inside attribute arguments. For example, 'a becomes a, 'static becomes static.