Exercises

We'll cover the following

Exercise 1

Make the example below compile and print success by defining a Size enum, adding a necessary #[derive(…​)] attribute, and implementing the vehicle_size function. Do not change the main function.

Get hands-on with 1000+ tech skills courses.