clippy fix
This commit is contained in:
parent
d4bbe2340f
commit
31a4a78a42
|
@ -818,7 +818,7 @@ impl super::Client {
|
||||||
"value": {unit}
|
"value": {unit}
|
||||||
}}
|
}}
|
||||||
"#,
|
"#,
|
||||||
reference_id = unit.reference_id.clone().unwrap_or(String::from("default")),
|
reference_id = unit.reference_id.clone().unwrap_or_else(|| String::from("default")),
|
||||||
unit = unit_str);
|
unit = unit_str);
|
||||||
|
|
||||||
if i < p_units.len() - 1 {
|
if i < p_units.len() - 1 {
|
||||||
|
|
Loading…
Reference in a new issue