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,
This commit is contained in:
parent
6950f144cf
commit
85b0c2ffbb
3 changed files with 6 additions and 6 deletions
|
|
@ -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)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue