diff --git a/src/dictionary.rs b/src/dictionary.rs index 3e321aa..104d67b 100644 --- a/src/dictionary.rs +++ b/src/dictionary.rs @@ -147,7 +147,7 @@ impl CFDictionary { pub fn get(&self, key: *const c_void) -> *const c_void { let value = self.find(key); if value.is_none() { - fail!("No entry found for key: {:?}", key); + fail!("No entry found for key: {}", key); } value.unwrap() } diff --git a/src/lib.rs b/src/lib.rs index cd3eb27..d1f3eed 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -13,7 +13,6 @@ #![allow(non_snake_case_functions)] extern crate libc; -extern crate debug; #[cfg(target_os="macos")] pub mod array;