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.
15 lines
269 B
15 lines
269 B
1 year ago
|
use organize_garage::*;
|
||
|
|
||
|
fn main() {
|
||
|
let mut garage = Garage {
|
||
|
left: Some(5),
|
||
|
right: Some(2),
|
||
|
};
|
||
|
|
||
|
println!("{:?}", garage);
|
||
|
garage.move_to_right();
|
||
|
println!("{:?}", garage);
|
||
|
garage.move_to_left();
|
||
|
println!("{:?}", garage);
|
||
|
}
|