add assignment to struct fields
This commit is contained in:
parent
d55137a7c7
commit
45b027e90f
4 changed files with 53 additions and 8 deletions
|
@ -46,5 +46,7 @@ fn main(a int) int {
|
|||
y: 20
|
||||
}
|
||||
|
||||
p.x = 69
|
||||
|
||||
println(egg.scramble(3).with(cheddar))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue