diff --git a/vm/src/obj/objstr.rs b/vm/src/obj/objstr.rs index f0bb7233e..9482f39db 100644 --- a/vm/src/obj/objstr.rs +++ b/vm/src/obj/objstr.rs @@ -1380,9 +1380,7 @@ fn try_update_quantity_from_tuple( Ok(tuple_index) } } - None => { - Err(vm.new_type_error("not enough arguments for format string".to_string())) - } + None => Err(vm.new_type_error("not enough arguments for format string".to_string())), } } _ => Ok(tuple_index),