Examples · learn/05-structs · 107 of 339
missing-field.fails
tin run examples/learn/05-structs/missing-field.fails.tintype Point = { x: int, y: int }
fn main() {
let p = Point { x: 1 }
} Examples · learn/05-structs · 107 of 339
tin run examples/learn/05-structs/missing-field.fails.tintype Point = { x: int, y: int }
fn main() {
let p = Point { x: 1 }
}