# use \* for pointer type instead of & · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/fcbb7426faac5e693ef195defe2d8d2a2eddadb1)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: fcbb7426faac5e693ef195defe2d8d2a2eddadb1

Requested commit: fcbb7426faac5e693ef195defe2d8d2a2eddadb1

Commit: fcbb7426faac5e693ef195defe2d8d2a2eddadb1

Tree: d34d161ccdbdacb0d0177b79aeb54605f9a49bd3

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
use * for pointer type instead of &

See #770

To help automatically translate code, see the
zig-fmt-pointer-reform-2 branch.

This will convert all & into *. Due to the syntax
ambiguity (which is why we are making this change),
even address-of & will turn into *, so you'll have
to manually fix thes instances. You will be guaranteed
to get compile errors for them - expected 'type', found 'foo'

```

## Parents

- [717ac85a5acb5e6ae063c4d0eb3b8f1bd260776a](https://git.cafe/gitcafe/zig/commit/717ac85a5acb5e6ae063c4d0eb3b8f1bd260776a?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/fcbb7426faac5e693ef195defe2d8d2a2eddadb1?format=markdown)
