diff --git a/array.rs b/array.rs index ab8e436..f62f321 100644 --- a/array.rs +++ b/array.rs @@ -2,7 +2,6 @@ use base::{ AbstractCFTypeRef, CFAllocatorRef, CFIndex, - CFRange, CFTypeID, CFTypeRef, CFWrapper, diff --git a/dictionary.rs b/dictionary.rs index 1fceaa0..4d1e86c 100644 --- a/dictionary.rs +++ b/dictionary.rs @@ -3,13 +3,12 @@ use base::{ Boolean, CFAllocatorRef, CFIndex, - CFType, CFTypeID, CFTypeRef, CFWrapper, kCFAllocatorDefault }; -use string::{CFString, CFStringRef}; +use string::CFStringRef; use core::libc::c_void; diff --git a/number.rs b/number.rs index f61c716..294e159 100644 --- a/number.rs +++ b/number.rs @@ -2,14 +2,13 @@ use base::{ AbstractCFTypeRef, Boolean, CFAllocatorRef, - CFIndex, CFTypeID, CFTypeRef, CFWrapper, kCFAllocatorDefault }; -use core::libc::{c_int, c_void}; +use core::libc::c_void; pub type CFNumberType = u32; diff --git a/set.rs b/set.rs index 465c138..bcff1bd 100644 --- a/set.rs +++ b/set.rs @@ -8,7 +8,7 @@ use base::{ CFWrapper, kCFAllocatorDefault, }; -use core::libc::{c_char, c_void}; +use core::libc::c_void; pub type CFSetRetainCallBack = *u8; pub type CFSetReleaseCallBack = *u8; diff --git a/test.rs b/test.rs index be0c2c0..b330800 100644 --- a/test.rs +++ b/test.rs @@ -1,7 +1,7 @@ -use boolean::{CFBoolean, CFBooleanRef}; -use number::{CFNumber, CFNumberRef}; +use boolean::CFBoolean; +use number::CFNumber; use dictionary::CFDictionary; -use string::{CFString, CFStringRef}; +use string::CFString; fn main() { /*let n = CFNumber::new_number(42 as i32);