From 1226669172ee257fc010af5b4cadc4b72965823e Mon Sep 17 00:00:00 2001 From: Tim Chevalier Date: Fri, 4 May 2012 11:47:37 -0700 Subject: [PATCH] Comment only: add a FIXME on int::abs --- src/libcore/int-template.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libcore/int-template.rs b/src/libcore/int-template.rs index 53413f3cdb6..4c3232e47d4 100644 --- a/src/libcore/int-template.rs +++ b/src/libcore/int-template.rs @@ -46,6 +46,7 @@ fn range(lo: T, hi: T, it: fn(T)) { } #[doc = "Computes the absolute value"] +// FIXME: abs should return an unsigned int (#2353) pure fn abs(i: T) -> T { if is_negative(i) { -i } else { i } }