diff --git a/rust/tvm-rt/src/function.rs b/rust/tvm-rt/src/function.rs index 97fc497ad6296..62474e6650d4e 100644 --- a/rust/tvm-rt/src/function.rs +++ b/rust/tvm-rt/src/function.rs @@ -114,10 +114,8 @@ impl Function { /// Calls the function that created from `Builder`. pub fn invoke<'a>(&self, arg_buf: Vec>) -> Result { let num_args = arg_buf.len(); - let (mut values, mut type_codes): (Vec, Vec) = arg_buf - .into_iter() - .map(|arg| arg.to_tvm_value()) - .unzip(); + let (mut values, mut type_codes): (Vec, Vec) = + arg_buf.into_iter().map(|arg| arg.to_tvm_value()).unzip(); let mut ret_val = ffi::TVMValue { v_int64: 0 }; let mut ret_type_code = 0i32;