about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGodfrey Chan <godfreykfc@gmail.com>2024-09-03 12:20:36 -0700
committerGitHub <noreply@github.com>2024-09-03 12:20:36 -0700
commit277a08c7d800880863a1386e19379efb98ca3f07 (patch)
tree28912372f13518b9f45b4be0ceffc23218396077
parentefc20deb57b142af1a0ce59af9d60479bef5b902 (diff)
downloadrust-277a08c7d800880863a1386e19379efb98ca3f07.tar.gz
rust-277a08c7d800880863a1386e19379efb98ca3f07.zip
Update marker.rs
-rw-r--r--library/core/src/marker.rs2
1 files changed, 1 insertions, 1 deletions
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 @@ marker_impls! {
 ///
 /// ```
 /// #[derive(Clone)]
-/// struct MyStruct<T>;
+/// struct MyStruct<T>(T);
 ///
 /// impl<T: Copy> Copy for MyStruct<T> { } 
 /// ```