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 c7a851e commit d7fda66Copy full SHA for d7fda66
[refs]
@@ -1,5 +1,5 @@
1
---
2
-refs/heads/master: 255908ac953acb868ba7ee0c0cbfb8ae0cc3e44d
+refs/heads/master: 4a974413dcce8a5a9f1df3d58503c63b8f5b556a
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
refs/heads/snap-stage3: ec0258a381b88b5574e3f8ce72ae553ac3a574b7
5
refs/heads/try: 7c6c492fb2af9a85f21ff952942df3523b22fd17
trunk/src/libcore/num/uint_macros.rs
@@ -89,7 +89,7 @@ impl Rem<$T,$T> for $T {
89
#[cfg(not(test))]
90
impl Neg<$T> for $T {
91
#[inline]
92
- fn neg(&self) -> $T { -*self }
+ fn neg(&self) -> $T { -(*self as $T_SIGNED) as $T }
93
}
94
95
impl Unsigned for $T {}
0 commit comments