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 3196236 commit 6c499adCopy full SHA for 6c499ad
src/sign.rs
@@ -213,13 +213,12 @@ fn unsigned_wrapping_is_unsigned() {
213
fn require_unsigned<T: Unsigned>(_: &T) {}
214
require_unsigned(&Wrapping(42_u32));
215
}
216
-/*
+
217
// Commenting this out since it doesn't compile on Rust 1.8,
218
// because on this version Wrapping doesn't implement Neg and therefore can't
219
// implement Signed.
220
-#[test]
221
-fn signed_wrapping_is_signed() {
222
- fn require_signed<T: Signed>(_: &T) {}
223
- require_signed(&Wrapping(-42));
224
-}
225
-*/
+// #[test]
+// fn signed_wrapping_is_signed() {
+// fn require_signed<T: Signed>(_: &T) {}
+// require_signed(&Wrapping(-42));
+// }
0 commit comments