# print_value: improve value printing · gitcafe/zig

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

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

Visibility: public

Requested revision: 951fc09a7e174f8f7cb7384d1fd56dcae9ac73da

Requested commit: 951fc09a7e174f8f7cb7384d1fd56dcae9ac73da

Commit: 951fc09a7e174f8f7cb7384d1fd56dcae9ac73da

Tree: a9f219a7546a066af433adf3ca8f421d62d81393

Author: mlugg

Committer: mlugg

## Message

```
print_value: improve value printing

Notably, this improves string printing from
`@as(*[5:0]u8, &@as([5:0]u8, "hello".*))` to `@as(*[5:0]u8, "hello")`,
omitting the pointless ref-deref pair.

```

## Parents

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

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