diff options
| author | Étienne Barrié <etienne.barrie@gmail.com> | 2020-08-10 10:24:21 -0400 |
|---|---|---|
| committer | Étienne Barrié <etienne.barrie@gmail.com> | 2020-08-10 10:24:21 -0400 |
| commit | 3144d3ae63963eae6bc8469a48dc0e586d77596d (patch) | |
| tree | 606646cc8e8099f10581010fa91f3067872d52eb /exercises/structs | |
| parent | c4853ee6bb2b3791ba04daf14105bfab2b53e79f (diff) | |
chore: Run rustfmt on exercises
Diffstat (limited to 'exercises/structs')
| -rw-r--r-- | exercises/structs/structs3.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/exercises/structs/structs3.rs b/exercises/structs/structs3.rs index 883c803..36d46e9 100644 --- a/exercises/structs/structs3.rs +++ b/exercises/structs/structs3.rs @@ -17,7 +17,11 @@ impl Package { if weight_in_grams <= 0 { // Something goes here... } else { - return Package {sender_country, recipient_country, weight_in_grams}; + return Package { + sender_country, + recipient_country, + weight_in_grams, + }; } } |
