rustdoc: add missing article

Co-authored-by: Jacob Hoffman-Andrews <github@hoffman-andrews.com>
This commit is contained in:
Michael Howell 2022-06-13 09:28:49 -07:00
parent 95ae4c9295
commit 94396711dd
2 changed files with 2 additions and 2 deletions

View File

@ -815,7 +815,7 @@ impl CheckAttrVisitor<'_> {
.sess .sess
.struct_span_err( .struct_span_err(
meta.span(), meta.span(),
"`#[doc(tuple_variadic)]` must used on the first of a set of tuple trait impls with varying arity", "`#[doc(tuple_variadic)]` must be used on the first of a set of tuple trait impls with varying arity",
) )
.emit(); .emit();
return false; return false;

View File

@ -1,4 +1,4 @@
error: `#[doc(tuple_variadic)]` must used on the first of a set of tuple trait impls with varying arity error: `#[doc(tuple_variadic)]` must be used on the first of a set of tuple trait impls with varying arity
--> $DIR/tuple-variadic-check.rs:12:7 --> $DIR/tuple-variadic-check.rs:12:7
| |
LL | #[doc(tuple_variadic)] LL | #[doc(tuple_variadic)]