fix key parsing

This commit is contained in:
Evan Almloff committed 2022-06-25 10:14:36 -05:00
1 parent 6c20d74797
commit 02756f6f92
1 file changed
+1 -1
+1 -1
View File
@@ -191,7 +191,7 @@ fn build_node<'a>(
None,
)),
Some(lit) => {
let ifmt: IfmtInput = parse_str(&lit.value()).map_err(|err| {
let ifmt: IfmtInput = lit.value().parse().map_err(|err| {
Error::ParseError(ParseError::new(err, ctx.location.clone()))
})?;
let key = bump.alloc(resolve_ifmt(&ifmt, &ctx.captured)?);