diff --git a/rust/tvm-rt/src/to_function.rs b/rust/tvm-rt/src/to_function.rs index 2f542e18a9b33..24d9aa7306c50 100644 --- a/rust/tvm-rt/src/to_function.rs +++ b/rust/tvm-rt/src/to_function.rs @@ -103,7 +103,7 @@ pub trait ToFunction: Sized { value = args_list[i]; tcode = type_codes_list[i]; if tcode == ffi::TVMArgTypeCode_kTVMObjectHandle as c_int - || tcode == ffi::TVMArgTypeCode_kkTVMObjectRValueRefArg as c_int + || tcode == ffi::TVMArgTypeCode_kTVMObjectRValueRefArg as c_int || tcode == ffi::TVMArgTypeCode_kTVMPackedFuncHandle as c_int || tcode == ffi::TVMArgTypeCode_kTVMModuleHandle as c_int || tcode == ffi::TVMArgTypeCode_kTVMNDArrayFuncHandle as c_int