chore: auto deref

This commit is contained in:
quake
2022-09-06 15:32:37 +09:00
parent 8ee501e4d9
commit a3ce137500
2 changed files with 5 additions and 5 deletions

View File

@@ -261,7 +261,7 @@ impl Engine {
let func = match cache.entry(hash) {
Entry::Vacant(entry) => {
let func = if args.len() == 2 {
get_builtin_binary_op_fn(&name, operands[0], operands[1])
get_builtin_binary_op_fn(name, operands[0], operands[1])
} else {
None
};