Remove unnecessary -> () function return types

This commit is contained in:
Richard Feldman 2022-05-18 08:29:40 -04:00
parent 7a353f0e0c
commit 9c72e5e8ed
No known key found for this signature in database
GPG key ID: 7E4127D1E4241798
13 changed files with 26 additions and 26 deletions

View file

@ -56,11 +56,11 @@ macro_rules! run_jit_function {
}
unsafe {
let main: libloading::Symbol<unsafe extern "C" fn(*mut RocCallResult<$ty>) -> ()> =
$lib.get($main_fn_name.as_bytes())
.ok()
.ok_or(format!("Unable to JIT compile `{}`", $main_fn_name))
.expect("errored");
let main: libloading::Symbol<unsafe extern "C" fn(*mut RocCallResult<$ty>)> = $lib
.get($main_fn_name.as_bytes())
.ok()
.ok_or(format!("Unable to JIT compile `{}`", $main_fn_name))
.expect("errored");
#[repr(C)]
struct Failures {