Skip to content

Commit c53360d

Browse files
committed
Auto merge of rust-lang#118321 - WaffleLapkin:unspace-fn-pointer-fake-variadic, r=notriddle
rustdoc: Remove space from fake-variadic fn ptr impls before: `for fn (T₁, T₂, …, Tₙ) -> Ret` after: `for fn(T₁, T₂, …, Tₙ) -> Ret` I don't think we usually have spaces there, so it looks weird. cc `@notriddle` since you added the space in rust-lang#98180 (or rather, added the feature with a space included).
2 parents 068adb0 + 947505e commit c53360d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/primitive_docs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1629,7 +1629,7 @@ mod prim_ref {}
16291629
///
16301630
/// ### Trait implementations
16311631
///
1632-
/// In this documentation the shorthand `fn (T₁, T₂, …, Tₙ)` is used to represent non-variadic
1632+
/// In this documentation the shorthand `fn(T₁, T₂, …, Tₙ)` is used to represent non-variadic
16331633
/// function pointers of varying length. Note that this is a convenience notation to avoid
16341634
/// repetitive documentation, not valid Rust syntax.
16351635
///

0 commit comments

Comments
 (0)