diff --git a/library/core/src/marker.rs b/library/core/src/marker.rs index 62f35c1bfa2..a13cef26dee 100644 --- a/library/core/src/marker.rs +++ b/library/core/src/marker.rs @@ -293,7 +293,7 @@ pub trait StructuralPartialEq { /// /// ``` /// #[derive(Clone)] -/// struct MyStruct; +/// struct MyStruct(T); /// /// impl Copy for MyStruct { } /// ```