# std.fmt.format: use \{t\} for tag name rather than \{s\} · gitcafe/zig

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

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

Visibility: public

Requested revision: 9c8aef55b4e287197b552ef18e7dd008e3a527bc

Requested commit: 9c8aef55b4e287197b552ef18e7dd008e3a527bc

Commit: 9c8aef55b4e287197b552ef18e7dd008e3a527bc

Tree: 0bbe77c197c55f57a22ab7e2657ce75fac24a80d

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.fmt.format: use {t} for tag name rather than {s}

prevents footgun when formatted type changes from string to enum

```

## Parents

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

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