3 ms·
It would be cool if Zig added a .. syntax, the same way . gets a child field, .. gets the parent field Then the code would become ``` const user: *User = n..
by xmorse 1y ago
It would be cool if Zig added a .. syntax, the same way . gets a child field, .. gets the parent field
Then the code would become
```
const user: *User = n..
```
Now it's easier to understand that .. is simply getting the parent struct.