Fix wording in comments from PR 2558

This commit is contained in:
David Tolnay
2024-10-21 19:41:43 -07:00
parent d4486be2b9
commit 00460b8dee
15 changed files with 132 additions and 125 deletions
+1 -1
View File
@@ -1227,7 +1227,7 @@ fn wrap_serialize_with(
quote_spanned!(serialize_with.span()=> {
#[doc(hidden)]
struct __SerializeWith #wrapper_impl_generics #where_clause {
// If #field_tys is empty, `values` does not used
// If #field_tys is empty, this field is unused
#[allow(dead_code)]
values: (#(&'__a #field_tys, )*),
phantom: _serde::__private::PhantomData<#this_type #ty_generics>,