fix type error

This commit is contained in:
cameron 2022-04-04 14:30:49 +01:00
parent 2137bdfca3
commit bb1c3a20b5

View file

@ -141,7 +141,7 @@ pub(super) fn add_call_parens<'b>(
Some(adt) => adt
.name(ctx.db)
.as_text()
.map(to_lower_snake_case)
.map(|s| to_lower_snake_case(s.as_str()))
.unwrap_or("_".to_string()),
};
f(&format_args!("${{{}:{}}}", index + offset, name))