Your Turn
SOURCE CODE
struct Widget {
alfa: String
}
fn main() {
let thing = Widget {
alfa: String::from("apple")
};
println!("{}", thing.alfa);
}
struct Widget {
alfa: String
}
fn main() {
let thing = Widget {
alfa: String::from("apple")
};
println!("{}", thing.alfa);
}