diff --git a/vm/src/obj/objfloat.rs b/vm/src/obj/objfloat.rs index 4067f395c..6d8c2ff73 100644 --- a/vm/src/obj/objfloat.rs +++ b/vm/src/obj/objfloat.rs @@ -298,7 +298,11 @@ fn float_mul(vm: &mut VirtualMachine, args: PyFuncArgs) -> PyResult { .ctx .new_float(v1 * objint::get_value(i2).to_f64().unwrap())) } else { - Err(vm.new_type_error(format!("Cannot multiply {} and {}", i.borrow(), i2.borrow()))) + Err(vm.new_type_error(format!( + "Cannot multiply {} and {}", + i.borrow(), + i2.borrow() + ))) } }