1
Fork 0

Fix incorrectly spelled "variadic"

This commit is contained in:
Michael Howell 2022-06-11 08:30:46 -07:00
parent 9f6dcceef0
commit 9b31323b8f
14 changed files with 23 additions and 23 deletions

View file

@ -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)?;