Skip to content

Commit 1aa7253

Browse files
committed
Use core::ffi whenever possible
1 parent b200e4d commit 1aa7253

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/lib.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@
1010

1111
extern crate libc;
1212

13-
use libc::{c_char, c_int, size_t};
13+
use core::ffi::{c_char, c_int};
14+
15+
use libc::size_t;
1416

1517
/// A complex number with 64-bit parts.
1618
pub type c_double_complex = __BindgenComplex<f64>;

0 commit comments

Comments
 (0)