Function darling_core::util::parse_expr::parse_str_literal

source ·
pub fn parse_str_literal(meta: &Meta) -> Result<Expr>
Expand description

Parse a Meta to an Expr; if the value is a string literal, the string’s contents will be parsed as an expression and emitted.