diff options
| author | Michael Howell <michael@notriddle.com> | 2022-06-11 08:30:46 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2022-06-11 09:54:20 -0700 |
| commit | 9b31323b8f784ebb8689bb11489caefadb552f60 (patch) | |
| tree | 8ad3ee74ad79b6888a26cdcc425b531ef683b231 /library/core/src | |
| parent | 9f6dcceef0bf2f455c29e8863413604b58e2b6b5 (diff) | |
| download | rust-9b31323b8f784ebb8689bb11489caefadb552f60.tar.gz rust-9b31323b8f784ebb8689bb11489caefadb552f60.zip | |
Fix incorrectly spelled "variadic"
Diffstat (limited to 'library/core/src')
| -rw-r--r-- | library/core/src/fmt/mod.rs | 2 | ||||
| -rw-r--r-- | library/core/src/hash/mod.rs | 2 | ||||
| -rw-r--r-- | library/core/src/primitive_docs.rs | 4 | ||||
| -rw-r--r-- | library/core/src/tuple.rs | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/library/core/src/fmt/mod.rs b/library/core/src/fmt/mod.rs index 6c76e148839..5a9370a88ec 100644 --- a/library/core/src/fmt/mod.rs +++ b/library/core/src/fmt/mod.rs @@ -2335,7 +2335,7 @@ macro_rules! tuple { macro_rules! maybe_tuple_doc { ($a:ident @ #[$meta:meta] $item:item) => { - #[cfg_attr(not(bootstrap), doc(tuple_varadic))] + #[cfg_attr(not(bootstrap), doc(tuple_variadic))] #[doc = "This trait is implemented for tuples up to twelve items long."] #[$meta] $item diff --git a/library/core/src/hash/mod.rs b/library/core/src/hash/mod.rs index d79258d2ed9..9a4c877b2d3 100644 --- a/library/core/src/hash/mod.rs +++ b/library/core/src/hash/mod.rs @@ -900,7 +900,7 @@ mod impls { macro_rules! maybe_tuple_doc { ($a:ident @ #[$meta:meta] $item:item) => { - #[cfg_attr(not(bootstrap), doc(tuple_varadic))] + #[cfg_attr(not(bootstrap), doc(tuple_variadic))] #[doc = "This trait is implemented for tuples up to twelve items long."] #[$meta] $item diff --git a/library/core/src/primitive_docs.rs b/library/core/src/primitive_docs.rs index 510d47f4e70..bf4431c4958 100644 --- a/library/core/src/primitive_docs.rs +++ b/library/core/src/primitive_docs.rs @@ -965,7 +965,7 @@ impl<T> (T,) {} // Fake impl that's only really used for docs. #[cfg(doc)] #[stable(feature = "rust1", since = "1.0.0")] -#[cfg_attr(not(bootstrap), doc(tuple_varadic))] +#[cfg_attr(not(bootstrap), doc(tuple_variadic))] /// This trait is implemented on arbitrary-length tuples. impl<T: Clone> Clone for (T,) { fn clone(&self) -> Self { @@ -976,7 +976,7 @@ impl<T: Clone> Clone for (T,) { // Fake impl that's only really used for docs. #[cfg(doc)] #[stable(feature = "rust1", since = "1.0.0")] -#[cfg_attr(not(bootstrap), doc(tuple_varadic))] +#[cfg_attr(not(bootstrap), doc(tuple_variadic))] /// This trait is implemented on arbitrary-length tuples. impl<T: Copy> Copy for (T,) { // empty diff --git a/library/core/src/tuple.rs b/library/core/src/tuple.rs index 9ddefc651ba..c6e3d045a78 100644 --- a/library/core/src/tuple.rs +++ b/library/core/src/tuple.rs @@ -105,7 +105,7 @@ macro_rules! tuple_impls { macro_rules! maybe_tuple_doc { ($a:ident @ #[$meta:meta] $item:item) => { - #[cfg_attr(not(bootstrap), doc(tuple_varadic))] + #[cfg_attr(not(bootstrap), doc(tuple_variadic))] #[doc = "This trait is implemented for tuples up to twelve items long."] #[$meta] $item |
