Fix wording in comments from PR 2558

This commit is contained in:
David Tolnay committed 2024-10-21 21:07:13 -07:00
1 parent d4486be2b9
commit 00460b8dee
15 files changed
+132 -125

No files matched your search

+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>,