mirror of
https://github.com/notohh/rustlings.git
synced 2025-06-22 19:37:41 -04:00
Merge pull request #871 from MpdWalsh/main
fix(structs3.rs): assigned value to cents_per_gram in test
This commit is contained in:
commit
e2fa512e86
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ mod tests {
|
||||||
let sender_country = String::from("Spain");
|
let sender_country = String::from("Spain");
|
||||||
let recipient_country = String::from("Spain");
|
let recipient_country = String::from("Spain");
|
||||||
|
|
||||||
let cents_per_gram = ???;
|
let cents_per_gram = 3;
|
||||||
|
|
||||||
let package = Package::new(sender_country, recipient_country, 1500);
|
let package = Package::new(sender_country, recipient_country, 1500);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue