]> git.lizzy.rs Git - rust.git/commitdiff
Remove unneeded FIXME
authorTobias Bucher <tobiasbucher5991@gmail.com>
Tue, 11 Aug 2015 15:13:35 +0000 (17:13 +0200)
committerTobias Bucher <tobiasbucher5991@gmail.com>
Tue, 11 Aug 2015 15:13:35 +0000 (17:13 +0200)
src/libstd/path.rs

index 5b456b580e569142588a3cbe5120e899a154d183..93d51457331b5fb5729c8a06a399f1645b2b6eeb 100644 (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) }