about summary refs log tree commit diff
path: root/library/std/src/primitive_docs.rs
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2022-06-14 12:21:38 -0700
committerMichael Howell <michael@notriddle.com>2022-06-14 12:21:38 -0700
commit2bbf44f655bc6b1073009cab56884b09666de6c3 (patch)
treeac413ddf6bb610e6581a30901bce91f233c58520 /library/std/src/primitive_docs.rs
parent94396711dd4a4c535664c0b85696bbe089198b8e (diff)
downloadrust-2bbf44f655bc6b1073009cab56884b09666de6c3.tar.gz
rust-2bbf44f655bc6b1073009cab56884b09666de6c3.zip
rustdoc: change "variadic tuple" notation to look less like real syntax
Diffstat (limited to 'library/std/src/primitive_docs.rs')
-rw-r--r--library/std/src/primitive_docs.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/library/std/src/primitive_docs.rs b/library/std/src/primitive_docs.rs
index a19840ac576..00793f7f920 100644
--- a/library/std/src/primitive_docs.rs
+++ b/library/std/src/primitive_docs.rs
@@ -918,10 +918,10 @@ mod prim_str {}
 // linked to as `#trait-implementations-1`
 /// # Trait implementations
 ///
-/// In this documentation the shorthand `(T, ...)` is used to represent tuples of varying length.
-/// When that is used, any trait bound expressed on `T` applies to each element of the tuple
-/// independently. Note that this is a convenience notation to avoid repetitive documentation,
-/// not valid Rust syntax.
+/// In this documentation the shorthand `(T₁, T₂, …, Tₙ)` is used to represent tuples of varying
+/// length. When that is used, any trait bound expressed on `T` applies to each element of the
+/// tuple independently. Note that this is a convenience notation to avoid repetitive
+/// documentation, not valid Rust syntax.
 ///
 /// Due to a temporary restriction in Rust’s type system, the following traits are only
 /// implemented on tuples of arity 12 or less. In the future, this may change: