diff options
| author | bors <bors@rust-lang.org> | 2023-11-27 06:16:15 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-11-27 06:16:15 +0000 |
| commit | a19161043a8cf28a0f1fa650b948b6ece6541216 (patch) | |
| tree | 0fcbb23ecd7ee191942773d23dc081a0368300c2 /library | |
| parent | 601a42713cdaa017dd54116cd23deb1da5da2200 (diff) | |
| parent | 1a3c5c40ca1499217fc72917738fd39219bbff17 (diff) | |
| download | rust-a19161043a8cf28a0f1fa650b948b6ece6541216.tar.gz rust-a19161043a8cf28a0f1fa650b948b6ece6541216.zip | |
Auto merge of #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 https://github.com/rust-lang/rust/pull/98180 (or rather, added the feature with a space included).
Diffstat (limited to 'library')
| -rw-r--r-- | library/core/src/primitive_docs.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/primitive_docs.rs b/library/core/src/primitive_docs.rs index a7e20407cec..e5d7e964381 100644 --- a/library/core/src/primitive_docs.rs +++ b/library/core/src/primitive_docs.rs @@ -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. /// |
