18 lines
275 B
Rust
Raw Normal View History

2020-03-28 14:45:55 +01:00
mod car;
use car::Information;
fn main() {
let a = car::Car {
manufacturer: "Benz".to_string(),
model: "Velo".to_string()
};
let b = car::Car {
manufacturer: "Ford".to_string(),
model: "Model T".to_string()
};
a.print_info();
b.print_info();
}