Comments: turn XXXes into FIXMEs

This commit is contained in:
Tim Chevalier 2013-01-18 14:21:31 -08:00
parent 90372da5a8
commit 9c1476e7a4
2 changed files with 4 additions and 4 deletions

View File

@ -62,8 +62,8 @@ a normal large stack.
*/
pub unsafe fn run_in_bare_thread(f: ~fn()) {
let (port, chan) = pipes::stream();
// XXX Unfortunate that this creates an extra scheduler but it's necessary
// since rust_raw_thread_join_delete is blocking
// FIXME #4525: Unfortunate that this creates an extra scheduler but it's
// necessary since rust_raw_thread_join_delete is blocking
do task::spawn_sched(task::SingleThreaded) unsafe {
let closure: &fn() = || {
f()

View File

@ -68,7 +68,7 @@ fn inject_libcore_ref(sess: Session,
};
new_module = fld.fold_mod(new_module);
// XXX: Bad copy.
// FIXME #2543: Bad copy.
let new_crate = ast::crate_ { module: new_module, ..copy crate };
(new_crate, span)
},
@ -94,7 +94,7 @@ fn inject_libcore_ref(sess: Session,
let vis = vec::append(~[vi2], module.view_items);
// XXX: Bad copy.
// FIXME #2543: Bad copy.
let new_module = { view_items: vis, ..copy module };
fold::noop_fold_mod(new_module, fld)
},