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/std/src | |
| parent | 9f6dcceef0bf2f455c29e8863413604b58e2b6b5 (diff) | |
| download | rust-9b31323b8f784ebb8689bb11489caefadb552f60.tar.gz rust-9b31323b8f784ebb8689bb11489caefadb552f60.zip | |
Fix incorrectly spelled "variadic"
Diffstat (limited to 'library/std/src')
| -rw-r--r-- | library/std/src/primitive_docs.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/std/src/primitive_docs.rs b/library/std/src/primitive_docs.rs index 510d47f4e70..bf4431c4958 100644 --- a/library/std/src/primitive_docs.rs +++ b/library/std/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 |
