about summary refs log tree commit diff
path: root/src/librustdoc/html/format.rs
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2022-06-11 08:30:46 -0700
committerMichael Howell <michael@notriddle.com>2022-06-11 09:54:20 -0700
commit9b31323b8f784ebb8689bb11489caefadb552f60 (patch)
tree8ad3ee74ad79b6888a26cdcc425b531ef683b231 /src/librustdoc/html/format.rs
parent9f6dcceef0bf2f455c29e8863413604b58e2b6b5 (diff)
downloadrust-9b31323b8f784ebb8689bb11489caefadb552f60.tar.gz
rust-9b31323b8f784ebb8689bb11489caefadb552f60.zip
Fix incorrectly spelled "variadic"
Diffstat (limited to 'src/librustdoc/html/format.rs')
-rw-r--r--src/librustdoc/html/format.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/format.rs b/src/librustdoc/html/format.rs
index 2f433c2313b..69bd0744a10 100644
--- a/src/librustdoc/html/format.rs
+++ b/src/librustdoc/html/format.rs
@@ -1076,7 +1076,7 @@ impl clean::Impl {
 
             if let clean::Type::Tuple(types) = &self.for_ &&
                 let [clean::Type::Generic(name)] = &types[..] &&
-                (self.kind.is_tuple_varadic() || self.kind.is_auto()) {
+                (self.kind.is_tuple_variadic() || self.kind.is_auto()) {
                 primitive_link_fragment(f, PrimitiveType::Tuple, &format!("({name}, ...)"), "#trait-implementations-1", cx)?;
             } else if let Some(ty) = self.kind.as_blanket_ty() {
                 fmt_type(ty, f, use_absolute, cx)?;