rustdoc: Remove space from fake-variadic fn ptr impls
before: `for fn (T₁, T₂, …, Tₙ) -> Ret` after: `for fn(T₁, T₂, …, Tₙ) -> Ret`
This commit is contained in:
parent
274b5249eb
commit
1a3c5c40ca
@ -1629,7 +1629,7 @@ mod prim_ref {}
|
|||||||
///
|
///
|
||||||
/// ### Trait implementations
|
/// ### Trait implementations
|
||||||
///
|
///
|
||||||
/// In this documentation the shorthand `fn (T₁, T₂, …, Tₙ)` is used to represent non-variadic
|
/// In this documentation the shorthand `fn(T₁, T₂, …, Tₙ)` is used to represent non-variadic
|
||||||
/// function pointers of varying length. Note that this is a convenience notation to avoid
|
/// function pointers of varying length. Note that this is a convenience notation to avoid
|
||||||
/// repetitive documentation, not valid Rust syntax.
|
/// repetitive documentation, not valid Rust syntax.
|
||||||
///
|
///
|
||||||
|
@ -1305,7 +1305,7 @@ impl clean::Impl {
|
|||||||
primitive_link_fragment(
|
primitive_link_fragment(
|
||||||
f,
|
f,
|
||||||
PrimitiveType::Tuple,
|
PrimitiveType::Tuple,
|
||||||
format_args!("fn ({name}₁, {name}₂, …, {name}ₙ{ellipsis})"),
|
format_args!("fn({name}₁, {name}₂, …, {name}ₙ{ellipsis})"),
|
||||||
"#trait-implementations-1",
|
"#trait-implementations-1",
|
||||||
cx,
|
cx,
|
||||||
)?;
|
)?;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user