From e9d5122476da8c286246fcbbdc968dc86b4e230b Mon Sep 17 00:00:00 2001 From: Jack Moffitt Date: Wed, 3 Apr 2013 22:09:05 -0600 Subject: [PATCH] Remove unused imports. --- font.rs | 4 ++-- font_collection.rs | 6 +++--- font_descriptor.rs | 10 +++++----- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/font.rs b/font.rs index b5ade67..d3e8ef6 100644 --- a/font.rs +++ b/font.rs @@ -8,8 +8,8 @@ use core_foundation::array::{CFArrayRef}; use core_foundation::base::{AbstractCFTypeRef, CFIndex, CFOptionFlags, CFTypeID, CFTypeRef}; use core_foundation::base::{CFWrapper}; use core_foundation::data::{CFData, CFDataRef}; -use core_foundation::dictionary::{CFDictionaryRef, UntypedCFDictionary}; -use core_foundation::string::{CFStringGetTypeID, CFString, CFStringRef, UniChar}; +use core_foundation::dictionary::CFDictionaryRef; +use core_foundation::string::{CFString, CFStringRef, UniChar}; use core_graphics::base::{CGAffineTransform, CGFloat}; use core_graphics::font::{CGGlyph, CGFont, CGFontRef}; use core_graphics::geometry::{CGRect, CGSize}; diff --git a/font_collection.rs b/font_collection.rs index 4da5c9c..8613f29 100644 --- a/font_collection.rs +++ b/font_collection.rs @@ -1,12 +1,12 @@ use font_descriptor; -use font_descriptor::{CTFontAttributes, CTFontDescriptor}; +use font_descriptor::CTFontDescriptor; use font_descriptor::{CTFontDescriptorCreateMatchingFontDescriptors, CTFontDescriptorRef}; use font_manager::CTFontManagerCopyAvailableFontFamilyNames; use core_foundation::array::{CFArray, CFArrayRef}; -use core_foundation::base::{AbstractCFTypeRef, CFAllocatorRef, CFIndex, CFRange, CFTypeID}; +use core_foundation::base::{AbstractCFTypeRef, CFTypeID}; use core_foundation::base::{CFTypeRef, CFWrapper}; -use core_foundation::dictionary::{CFDictionary, CFDictionaryRef, UntypedCFDictionary}; +use core_foundation::dictionary::{CFDictionary, CFDictionaryRef}; use core_foundation::number::CFNumber; use core_foundation::set::CFSet; use core_foundation::string::{CFString, CFStringRef}; diff --git a/font_descriptor.rs b/font_descriptor.rs index 04931bb..86d8bdd 100644 --- a/font_descriptor.rs +++ b/font_descriptor.rs @@ -1,12 +1,12 @@ use core_foundation; use core_foundation::array::CFArrayRef; -use core_foundation::base::{AbstractCFTypeRef, CFAllocatorRef, CFIndex, CFGetTypeID, CFRange}; -use core_foundation::base::{CFType, CFTypeID, CFTypeRef, CFWrapper}; -use core_foundation::dictionary::{CFDictionary, CFDictionaryRef, UntypedCFDictionary}; +use core_foundation::base::AbstractCFTypeRef; +use core_foundation::base::{CFTypeID, CFTypeRef, CFWrapper}; +use core_foundation::dictionary::{CFDictionaryRef, UntypedCFDictionary}; use core_foundation::number::{CFNumber, CFNumberRef}; use core_foundation::set::CFSetRef; -use core_foundation::string::{CFString, CFStringRef, CFStringGetTypeID}; -use core_foundation::url::{CFURL, CFURLRef, CFURLGetTypeID}; +use core_foundation::string::CFStringRef; +use core_foundation::url::{CFURLRef}; use core_graphics::base::CGFloat; /*