about summary refs log tree commit diff
path: root/library/core/src
diff options
context:
space:
mode:
authorMaybe Waffle <waffle.lapkin@tasking.com>2023-11-26 15:01:42 +0000
committerMaybe Waffle <waffle.lapkin@tasking.com>2023-11-26 15:01:42 +0000
commit1a3c5c40ca1499217fc72917738fd39219bbff17 (patch)
tree2d6e9f43dcec1775ed098a8e7659f45a76b631fd /library/core/src
parent274b5249eb1014b441fd9fe45e9373111f61e413 (diff)
downloadrust-1a3c5c40ca1499217fc72917738fd39219bbff17.tar.gz
rust-1a3c5c40ca1499217fc72917738fd39219bbff17.zip
rustdoc: Remove space from fake-variadic fn ptr impls
before: `for fn (T₁, T₂, …, Tₙ) -> Ret`
after: `for fn(T₁, T₂, …, Tₙ) -> Ret`
Diffstat (limited to 'library/core/src')
-rw-r--r--library/core/src/primitive_docs.rs2
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.
 ///