Skip to content

Commit 1226669

Browse files
committed
Comment only: add a FIXME on int::abs
1 parent f717100 commit 1226669

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libcore/int-template.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ pure fn compl(i: T) -> T {
4646
}
4747

4848
#[doc = "Computes the absolute value"]
49+
// FIXME: abs should return an unsigned int (#2353)
4950
pure fn abs(i: T) -> T {
5051
if is_negative(i) { -i } else { i }
5152
}

0 commit comments

Comments
 (0)