mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
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
|
||||
///
|
||||
/// 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
|
||||
/// repetitive documentation, not valid Rust syntax.
|
||||
///
|
||||
|
@ -1305,7 +1305,7 @@ impl clean::Impl {
|
||||
primitive_link_fragment(
|
||||
f,
|
||||
PrimitiveType::Tuple,
|
||||
format_args!("fn ({name}₁, {name}₂, …, {name}ₙ{ellipsis})"),
|
||||
format_args!("fn({name}₁, {name}₂, …, {name}ₙ{ellipsis})"),
|
||||
"#trait-implementations-1",
|
||||
cx,
|
||||
)?;
|
||||
|
Loading…
Reference in New Issue
Block a user