]> git.lizzy.rs Git - rust.git/commitdiff
removed impls of `Neg` for `u{8,16,32,64,size}`.
authorFelix S. Klock II <pnkfelix@pnkfx.org>
Wed, 1 Apr 2015 20:33:37 +0000 (22:33 +0200)
committerFelix S. Klock II <pnkfelix@pnkfx.org>
Wed, 1 Apr 2015 20:35:50 +0000 (22:35 +0200)
src/libcore/ops.rs

index e1a9efd69ad450f4f4a89213d4051cc40c31b28c..277f7db8fd4b17ad4dbe5ea252241645c7588a7e 100644 (file)
@@ -514,7 +514,7 @@ macro_rules! neg_impl_unsigned {
         }, $($t)*} }
 }
 
-neg_impl_unsigned! { usize u8 u16 u32 u64 }
+// neg_impl_unsigned! { usize u8 u16 u32 u64 }
 neg_impl_numeric! { isize i8 i16 i32 i64 f32 f64 }
 
 /// The `Not` trait is used to specify the functionality of unary `!`.