# zig fmt: implement pointer types · gitcafe/zig

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

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

Visibility: public

Requested revision: 33915cb1ed88417d3495c160ffd15c93f9197e5b

Requested commit: 33915cb1ed88417d3495c160ffd15c93f9197e5b

Commit: 33915cb1ed88417d3495c160ffd15c93f9197e5b

Tree: 98de1c8df774c75ddc405ed2405e533a3310dc70

Author: Isaac Freund

Committer: Andrew Kelley

## Message

```
zig fmt: implement pointer types

rename PtrType => PtrTypeBitRange, SliceType => PtrType

This rename was done as the current SliceType is used for non-bitrange
pointers as well as slices and because PtrTypeSentinel/PtrTypeAligned
are also used for slices. Therefore using the same Ptr prefix for all
these pointer/slice nodes is an improvement.

```

## Parents

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

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