Skip to content

Commit 740ac0c

Browse files
committed
Using 'Option' with ::
1 parent fc80bbb commit 740ac0c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/vxworks/mod.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -416,9 +416,10 @@ s_no_extra_traits! {
416416
}
417417

418418
pub union sa_u_t {
419-
pub sa_handler : Option<unsafe extern "C" fn(::c_int) -> !>,
420-
pub sa_sigaction: Option<unsafe extern "C" fn(::c_int, *mut ::siginfo_t,
421-
*mut ::c_void) -> !>,
419+
pub sa_handler : ::Option<unsafe extern "C" fn(::c_int) -> !>,
420+
pub sa_sigaction: ::Option<unsafe extern "C" fn(::c_int,
421+
*mut ::siginfo_t,
422+
*mut ::c_void) -> !>,
422423
}
423424

424425
pub union sigval {

0 commit comments

Comments
 (0)