mirror of
https://github.com/notohh/rustlings.git
synced 2025-10-08 11:38:39 -04:00
chore: Alter whitespace for consistency
* Add newline after "I AM DONE" in exercises for consistency * Remove trailing whitespace from exercises
This commit is contained in:
parent
106dbbc341
commit
bb5f404e35
10 changed files with 34 additions and 29 deletions
exercises/structs
|
@ -47,7 +47,7 @@ mod tests {
|
|||
fn create_international_package() {
|
||||
let sender_country = String::from("Spain");
|
||||
let recipient_country = String::from("Russia");
|
||||
|
||||
|
||||
let package = Package::new(sender_country, recipient_country, 1200);
|
||||
|
||||
assert!(package.is_international());
|
||||
|
@ -59,9 +59,9 @@ mod tests {
|
|||
let recipient_country = String::from("Spain");
|
||||
|
||||
let cents_per_kg = ???;
|
||||
|
||||
|
||||
let package = Package::new(sender_country, recipient_country, 1500);
|
||||
|
||||
|
||||
assert_eq!(package.get_fees(cents_per_kg), 4500);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue