diff --git a/core/src/marker.rs b/core/src/marker.rs index dfc988c885e25..62f35c1bfa2a6 100644 --- a/core/src/marker.rs +++ b/core/src/marker.rs @@ -292,9 +292,10 @@ marker_impls! { /// bound on type parameters: /// /// ``` +/// #[derive(Clone)] /// struct MyStruct; /// -/// impl Copy for MyStruct { } +/// impl Copy for MyStruct { } /// ``` /// /// This isn't always desired. For example, shared references (`&T`) can be copied regardless of