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 } }