Remove unneeded FIXME

This commit is contained in:
Tobias Bucher 2015-08-11 17:13:35 +02:00
parent c756526eb2
commit 0354d7a800

View File

@ -409,7 +409,6 @@ fn has_physical_root(s: &[u8], prefix: Option<Prefix>) -> bool {
}
// basic workhorse for splitting stem and extension
#[allow(unused_unsafe)] // FIXME
fn split_file_at_dot(file: &OsStr) -> (Option<&OsStr>, Option<&OsStr>) {
unsafe {
if os_str_as_u8_slice(file) == b".." { return (Some(file), None) }