From eab89e2e810bc7f23d777b13d6b8a1adb6f9b819 Mon Sep 17 00:00:00 2001 From: Ty Overby Date: Fri, 23 Jan 2015 15:20:05 -0800 Subject: [PATCH] fixed Show -> Debug --- src/string.rs | 2 +- src/url.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/string.rs b/src/string.rs index ac76f39..3f83c2e 100644 --- a/src/string.rs +++ b/src/string.rs @@ -317,7 +317,7 @@ impl ToString for CFString { } } -impl fmt::Show for CFString { +impl fmt::Debug for CFString { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { self.to_string().fmt(f) } diff --git a/src/url.rs b/src/url.rs index cfe6e2f..2f567e9 100644 --- a/src/url.rs +++ b/src/url.rs @@ -67,7 +67,7 @@ impl TCFType for CFURL { } } -impl fmt::Show for CFURL { +impl fmt::Debug for CFURL { #[inline] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { unsafe { @@ -174,7 +174,7 @@ extern { //fn CFURLHasDirectoryPath /* Converting URLs to Other Representations */ - //fn CFURLCreateData(allocator: CFAllocatorRef, url: CFURLRef, + //fn CFURLCreateData(allocator: CFAllocatorRef, url: CFURLRef, // encoding: CFStringEncoding, escapeWhitespace: bool) -> CFDataRef; //fn CFURLCreateStringByAddingPercentEscapes //fn CFURLCreateStringByReplacingPercentEscapes