about summary refs log tree commit diff
path: root/src/lib
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2011-08-23 18:09:30 -0700
committerBrian Anderson <banderson@mozilla.com>2011-08-23 18:55:37 -0700
commit18576e55f72b9bdcb0998870377e09b02b033f8b (patch)
tree1a7d6f1d2c8c56340380a32c01c75747bfda47d1 /src/lib
parentc1f239424534af38fd1dfab861fab6813c1c9c97 (diff)
downloadrust-18576e55f72b9bdcb0998870377e09b02b033f8b.tar.gz
rust-18576e55f72b9bdcb0998870377e09b02b033f8b.zip
Resolve a number of FIXMEs
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/io.rs8
-rw-r--r--src/lib/test.rs2
-rw-r--r--src/lib/uint.rs3
3 files changed, 0 insertions, 13 deletions
diff --git a/src/lib/io.rs b/src/lib/io.rs
index 454cfd1041f..76608e5e956 100644
--- a/src/lib/io.rs
+++ b/src/lib/io.rs
@@ -179,10 +179,6 @@ fn file_reader(path: str) -> reader {
 }
 
 
-// FIXME: Remove me once objects are exported.
-fn new_reader_(bufr: buf_reader) -> reader { ret new_reader(bufr); }
-
-
 // Byte buffer readers
 
 // TODO: mutable? u8, but this fails with rustboot.
@@ -355,10 +351,6 @@ obj new_writer(out: buf_writer) {
     }
 }
 
-
-// FIXME: Remove me once objects are exported.
-fn new_writer_(out: buf_writer) -> writer { ret new_writer(out); }
-
 fn file_writer(path: str, flags: &[fileflag]) -> writer {
     ret new_writer(file_buf_writer(path, flags));
 }
diff --git a/src/lib/test.rs b/src/lib/test.rs
index 72e5eb75597..09ea61dc5d7 100644
--- a/src/lib/test.rs
+++ b/src/lib/test.rs
@@ -66,8 +66,6 @@ type opt_res = either::t<test_opts, str>;
 // Parses command line arguments into test options
 fn parse_opts(args: &[str]) : vec::is_not_empty(args) -> opt_res {
 
-    // FIXME (#649): Shouldn't have to check here
-    check (vec::is_not_empty(args));
     let args_ = vec::tail(args);
     let opts = [getopts::optflag("ignored")];
     let match =
diff --git a/src/lib/uint.rs b/src/lib/uint.rs
index 94517b29f27..657138cea9c 100644
--- a/src/lib/uint.rs
+++ b/src/lib/uint.rs
@@ -32,9 +32,6 @@ iter range(lo: uint, hi: uint) -> uint {
 }
 
 fn next_power_of_two(n: uint) -> uint {
-    // FIXME change |* uint(4)| below to |* uint(8) / uint(2)| and watch the
-    // world explode.
-
     let halfbits: uint = sys::rustrt::size_of::<uint>() * 4u;
     let tmp: uint = n - 1u;
     let shift: uint = 1u;