From 85b0c2ffbb2c047c744ad10f7e72d87cbf4dbd32 Mon Sep 17 00:00:00 2001 From: Michael Howell Date: Wed, 8 Jun 2022 19:51:54 -0700 Subject: rustdoc: fixed messed-up rustdoc auto trait impls Before: impl UnwindSafe for (T, ...) where T: UnwindSafe, U: UnwindSafe, After: impl UnwindSafe for (T, ...) where T: UnwindSafe, --- library/std/src/primitive_docs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'library/std/src') 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) {} +impl (T,) {} // Fake impl that's only really used for docs. #[cfg(doc)] -- cgit 1.4.1-3-g733a5