]> git.proxmox.com Git - rustc.git/blobdiff - src/test/rustdoc/hidden-line.rs
Imported Upstream version 1.2.0+dfsg1
[rustc.git] / src / test / rustdoc / hidden-line.rs
index bb9eec793df9cd7daf8ec23d7c144f123114ca20..af67f7e2c1fb7bd2a2d412f7581eb1ba0f864a4e 100644 (file)
@@ -22,7 +22,7 @@
 ///
 /// fn test() {
 ///     let x = Bar(Foo);
-///     assert!(x == x); // check that the derivings worked
+///     assert_eq!(x, x); // check that the derivings worked
 /// }
 ///
 /// }