src/dirname.rs in faster_path-0.1.5 vs src/dirname.rs in faster_path-0.1.6

- old
+ new

@@ -1,4 +1,9 @@ +use std::path::{Path,MAIN_SEPARATOR}; +use libc::c_char; +use std::ffi::{CStr,CString}; +use std::str; + #[no_mangle] pub extern fn dirname(string: *const c_char) -> *const c_char { let c_str = unsafe { assert!(!string.is_null());