diff options
| author | Michael Howell <michael@notriddle.com> | 2022-06-08 19:51:54 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2022-06-08 19:51:54 -0700 |
| commit | 85b0c2ffbb2c047c744ad10f7e72d87cbf4dbd32 (patch) | |
| tree | 0f221a42c9eb8205e827bba43d077f8d451a35ba /library/std/src/primitive_docs.rs | |
| parent | 6950f144cf83d10bc4a304b48488f9f5368cfaae (diff) | |
| download | rust-85b0c2ffbb2c047c744ad10f7e72d87cbf4dbd32.tar.gz rust-85b0c2ffbb2c047c744ad10f7e72d87cbf4dbd32.zip | |
rustdoc: fixed messed-up rustdoc auto trait impls
Before:
impl<T, U> UnwindSafe for (T, ...) where
T: UnwindSafe,
U: UnwindSafe,
After:
impl<T> UnwindSafe for (T, ...) where
T: UnwindSafe,
Diffstat (limited to 'library/std/src/primitive_docs.rs')
| -rw-r--r-- | library/std/src/primitive_docs.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/primitive_docs.rs b/library/std/src/primitive_docs.rs index 26f9528dd22..6fa9e795db8 100644 --- a/library/std/src/primitive_docs.rs +++ b/library/std/src/primitive_docs.rs @@ -960,7 +960,7 @@ mod prim_tuple {} // Required to make auto trait impls render. // See /src/librustdoc/passes/collect_trait_impls.rs:collect_trait_impls #[doc(hidden)] -impl<T, U> (T, U) {} +impl<T> (T,) {} // Fake impl that's only really used for docs. #[cfg(doc)] |
