From 9dab4de2dbe8c574f5e6796da4a16952c7aa42f3 Mon Sep 17 00:00:00 2001 From: David Partouche Date: Mon, 20 Oct 2014 19:08:31 +0200 Subject: [PATCH] Fixed a two errors: unknown format trait and create missing --- src/dictionary.rs | 2 +- src/lib.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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;