From ea5381db108de40fb7f573be6ee2b1b58ea7c633 Mon Sep 17 00:00:00 2001 From: Aviv Palivoda Date: Thu, 17 Oct 2019 23:38:52 +0300 Subject: [PATCH] Fix format --- vm/src/obj/objstr.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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),