Function get_lit_str

Source
pub fn get_lit_str(attr_name: Symbol, value: &Expr) -> Result<&LitStr>
Expand description

Get a literal string from the provided expression.