diff options
| author | Godfrey Chan <godfreykfc@gmail.com> | 2024-09-03 12:20:36 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-03 12:20:36 -0700 |
| commit | 277a08c7d800880863a1386e19379efb98ca3f07 (patch) | |
| tree | 28912372f13518b9f45b4be0ceffc23218396077 | |
| parent | efc20deb57b142af1a0ce59af9d60479bef5b902 (diff) | |
| download | rust-277a08c7d800880863a1386e19379efb98ca3f07.tar.gz rust-277a08c7d800880863a1386e19379efb98ca3f07.zip | |
Update marker.rs
| -rw-r--r-- | library/core/src/marker.rs | 2 |
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> { } /// ``` |
