# std/fmt: Move pointer parsing out of main state machine · gitcafe/zig

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

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

Visibility: public

Requested revision: 6844dafeca42daaf904bc4df0347c6fd625dbcaf

Requested commit: 6844dafeca42daaf904bc4df0347c6fd625dbcaf

Commit: 6844dafeca42daaf904bc4df0347c6fd625dbcaf

Tree: 99120928adfa4387b03b2a492e47ed1a8656d01a

Author: Marc Tiehuis

Committer: Marc Tiehuis

## Message

```
std/fmt: Move pointer parsing out of main state machine

This allows us to format a pointer with alignment/padding as we would
with any other format specifier.

e.g. {*:5}

```

## Parents

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

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