mirror of https://github.com/01-edu/public.git
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.
25 lines
557 B
25 lines
557 B
1 year ago
|
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()
|
||
|
}
|
||
|
);
|
||
|
}
|