From 1d7029adb840ba50e43f8e0aedb28fbddf322cdd Mon Sep 17 00:00:00 2001 From: Thom Chiovoloni Date: Thu, 29 Sep 2022 01:47:05 -0700 Subject: [PATCH] Use `::Option` and not `Option` for `pthread_jit_write_callback_t` --- src/unix/bsd/apple/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unix/bsd/apple/mod.rs b/src/unix/bsd/apple/mod.rs index 8c30eb2de3eb9..d17d5e0050558 100644 --- a/src/unix/bsd/apple/mod.rs +++ b/src/unix/bsd/apple/mod.rs @@ -119,7 +119,7 @@ pub type thread_throughput_qos_policy_t = *mut thread_throughput_qos_policy; pub type pthread_introspection_hook_t = extern "C" fn(event: ::c_uint, thread: ::pthread_t, addr: *mut ::c_void, size: ::size_t); -pub type pthread_jit_write_callback_t = Option ::c_int>; +pub type pthread_jit_write_callback_t = ::Option ::c_int>; pub type vm_statistics_t = *mut vm_statistics; pub type vm_statistics_data_t = vm_statistics;