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

- old
+ new

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