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