Comments only: annotate more FIXMEs in libstd

This commit is contained in:
Tim Chevalier 2012-05-03 16:56:55 -07:00
parent a7e0eb3581
commit 97c0b3848d
3 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@ import core::option;
import core::option::{some, none};
// FIXME: Should not be @; there's a bug somewhere in rustc that requires this
// to be.
// to be. (#2347)
type smallintmap<T: copy> = @{mut v: [mut option<T>]};
#[doc = "Create a smallintmap"]

View File

@ -141,7 +141,7 @@ fn qsort3<T: copy>(compare_func_lt: le<T>, compare_func_eq: le<T>,
qsort3::<T>(compare_func_lt, compare_func_eq, arr, i, right);
}
// FIXME: This should take lt and eq types
// FIXME: This should take lt and eq types (#2348)
#[doc = "
Fancy quicksort. Sorts a mut vector in place.

View File

@ -9,7 +9,7 @@ fn mkdtemp(prefix: str, suffix: str) -> option<str> {
let mut i = 0u;
while (i < 1000u) {
let s = prefix + r.gen_str(16u) + suffix;
if os::make_dir(s, 0x1c0i32) { // FIXME: u+rwx
if os::make_dir(s, 0x1c0i32) { // FIXME: u+rwx (#2349)
ret some(s);
}
i += 1u;