]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/issue-3091.rs
cleanup: s/impl Copy/#[derive(Copy)]/g
[rust.git] / src / test / run-pass / issue-3091.rs
index aa0625aa110d943e2e9b3569cc2a165c3f9c1162..2e287e24e23fcddc8cdeb10d2c8e354776094ef0 100644 (file)
@@ -9,7 +9,7 @@
 // except according to those terms.
 
 pub fn main() {
-    let x = 1;
-    let y = 1;
-    assert!(&x == &y);
+    let x = 1i;
+    let y = 1i;
+    assert_eq!(&x, &y);
 }