1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2025-06-23 00:28:46 +02:00

Merge pull request #871 from MpdWalsh/main

fix(structs3.rs): assigned value to cents_per_gram in test
This commit is contained in:
diannasoreil
2021-10-31 17:25:18 +01:00
committed by GitHub

View File

@ -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);