More concise explanation of allow(unused_variables)
This commit is contained in:
parent
8dfb4cd02f
commit
fe06bc2f88
@ -720,7 +720,7 @@ fn serialize_adjacently_tagged_variant(
|
||||
where
|
||||
__S: _serde::Serializer,
|
||||
{
|
||||
// Some members of this tuple will be unused if they're `skip_serializing`
|
||||
// Elements that have skip_serializing will be unused.
|
||||
#[allow(unused_variables)]
|
||||
let (#(#fields_ident,)*) = self.data;
|
||||
#inner
|
||||
|
Loading…
Reference in New Issue
Block a user