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

pull/853/head
Zhenghao Lu 3 years ago committed by GitHub
parent d57c183028
commit bf33829da2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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,
};
}
}
}

Loading…
Cancel
Save