]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/associated-types-conditional-dispatch.rs
cleanup: s/impl Copy/#[derive(Copy)]/g
[rust.git] / src / test / run-pass / associated-types-conditional-dispatch.rs
index 46cf9110476d039ed7ed799331c44a313659dff5..6d59161ff93456fdaf1163bc02cc17033d8b30e2 100644 (file)
@@ -16,7 +16,7 @@
 
 use std::ops::Deref;
 
-pub trait MyEq<Sized? U=Self> for Sized? {
+pub trait MyEq<U: ?Sized=Self> {
     fn eq(&self, u: &U) -> bool;
 }