Replace val_to_string with to_string (via fmt::Display)

This commit is contained in:
Andrew Morris
2023-05-26 13:17:31 +10:00
parent 3cfe1a6527
commit bc89575eae
24 changed files with 217 additions and 167 deletions

View File

@@ -345,7 +345,7 @@ impl<'a> ExpressionCompiler<'a> {
self
.fnc
.allocate_numbered_reg(&format!("_couldnt_mutate_{}_", ident.sym.to_string()))
.allocate_numbered_reg(&format!("_couldnt_mutate_{}_", ident.sym))
}
pub fn assign_expression(