about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-03-19 14:14:47 -0700
committerBrian Anderson <banderson@mozilla.com>2012-03-19 14:14:49 -0700
commit009bbadd9202b12dcf3aa779129cd7e42005695c (patch)
tree1288945b3426daaa80b88287584cb43c14cb379b /src/libcore
parentcec1a9b8592b573e40d81ba52d658bdcd9acacb3 (diff)
core: Remove a FIXME. Closes #2002
It works for negative integers
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/int.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/libcore/int.rs b/src/libcore/int.rs
index f06f18eddd7..5aed338bd6b 100644
--- a/src/libcore/int.rs
+++ b/src/libcore/int.rs
@@ -35,9 +35,6 @@ pure fn negative(x: int) -> bool { ret x < 0; }
 pure fn nonpositive(x: int) -> bool { ret x <= 0; }
 pure fn nonnegative(x: int) -> bool { ret x >= 0; }
 
-
-// FIXME: Make sure this works with negative integers.
-// See Issue #2002
 #[doc = "Produce a uint suitable for use in a hash table"]
 pure fn hash(x: int) -> uint { ret x as uint; }