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:
parent
66c9fedfdb
commit
63f4ff6406
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue