You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

24 lines
557 B

use format_me::*;
fn main() {
println!(
"{}",
Park {
name: "Les Tuileries".to_string(),
park_type: ParkType::Garden,
address: "Pl. de la Concorde".to_string(),
cap: "75001".to_string(),
state: "France".to_string()
}
);
println!(
"{}",
Park {
name: "".to_string(),
park_type: ParkType::Playground,
address: "".to_string(),
cap: "".to_string(),
state: "".to_string()
}
);
}