core: Comments only -- move FIXME to correct location

This commit is contained in:
Tim Chevalier 2013-04-22 17:47:55 -07:00
parent a784997750
commit 08109aa0ad

View File

@ -43,8 +43,6 @@ use vec;
pub use libc::fclose;
pub use os::consts::*;
// FIXME: move these to str perhaps? #2620
pub fn close(fd: c_int) -> c_int {
unsafe {
libc::close(fd)
@ -79,6 +77,8 @@ pub fn getcwd() -> Path {
}
}
// FIXME: move these to str perhaps? #2620
pub fn as_c_charp<T>(s: &str, f: &fn(*c_char) -> T) -> T {
str::as_c_str(s, |b| f(b as *c_char))
}