Merge pull request #41 from DavidPartouche/compilation-error
Fixed two errors: unknown format trait and create missing
This commit is contained in:
+1
-1
@@ -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()
|
||||
}
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
#![allow(non_snake_case_functions)]
|
||||
|
||||
extern crate libc;
|
||||
extern crate debug;
|
||||
|
||||
#[cfg(target_os="macos")]
|
||||
pub mod array;
|
||||
|
||||
Reference in New Issue
Block a user