fix(structs3): remove redundant 'return' (#852)

This commit is contained in:
Zhenghao Lu
2021-09-27 10:03:28 +02:00
committed by GitHub
co-authored by GitHub
parent d57c183028
commit bf33829da2
+2 -2
View File
@@ -18,11 +18,11 @@ impl Package {
if weight_in_grams <= 0 {
// Something goes here...
} else {
return Package {
Package {
sender_country,
recipient_country,
weight_in_grams,
};
}
}
}