Remove redundant field names

clippy emits two warnings of form:

 warning: redundant field names in struct initialization

Remove the redundant field names.
This commit is contained in:
Tobin C. Harding 2022-06-23 13:45:16 +10:00
parent 66c9fedfdb
commit 63f4ff6406
1 changed files with 2 additions and 2 deletions

View File

@ -276,7 +276,7 @@ macro_rules! serde_struct_human_string_impl {
)*
let ret = $name {
$($fe: $fe),*
$($fe),*
};
Ok(ret)
@ -312,7 +312,7 @@ macro_rules! serde_struct_human_string_impl {
)*
let ret = $name {
$($fe: $fe),*
$($fe),*
};
Ok(ret)