# std: Fix \{\*\} printing of non-pointer types · gitcafe/zig

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

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

Visibility: public

Requested revision: bb9a4ad6e903ad2f9c137bca56bdf2dd6fc65d03

Requested commit: bb9a4ad6e903ad2f9c137bca56bdf2dd6fc65d03

Commit: bb9a4ad6e903ad2f9c137bca56bdf2dd6fc65d03

Tree: 999547058a55d513a3bb5e88c41dd8b029d77f6b

Author: LemonBoy

Committer: LemonBoy

## Message

```
std: Fix {*} printing of non-pointer types

Fixes a regression introduced in #6246.
Adds a test to make sure this won't happen again.

```

## Parents

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

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