A Better Person
We'll cover the following...
Earlier, we declared a Person
struct as:
Press + to interact
struct Person {name: &'static str,age: i32,}
This is incredibly limiting. Only string literals can produce a &str
...
Access this course and 1400+ top-rated courses and projects.