We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bbf0ce commit 49da4b8Copy full SHA for 49da4b8
[refs]
@@ -2,5 +2,5 @@
2
refs/heads/master: 61b1875c16de39c166b0f4d54bba19f9c6777d1a
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5
-refs/heads/try: f717100fc7b2db7ba10cebbf168f38a856a9425b
+refs/heads/try: 1226669172ee257fc010af5b4cadc4b72965823e
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
branches/try/src/libcore/int-template.rs
@@ -46,6 +46,7 @@ pure fn compl(i: T) -> T {
46
}
47
48
#[doc = "Computes the absolute value"]
49
+// FIXME: abs should return an unsigned int (#2353)
50
pure fn abs(i: T) -> T {
51
if is_negative(i) { -i } else { i }
52
0 commit comments