# langref.html.in: Simplify printing types in examples · gitcafe/zig

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

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

Visibility: public

Requested revision: 88d2e4f66a988dabca45c9add992c9f029c2176f

Requested commit: 88d2e4f66a988dabca45c9add992c9f029c2176f

Commit: 88d2e4f66a988dabca45c9add992c9f029c2176f

Tree: d9a130b2e23337bb5be587128e4fb687975ac8af

Author: Ganesan Rajagopal

Committer: Veikka Tuominen

## Message

```
langref.html.in: Simplify printing types in examples

zig stdlib fmt has a formatter for types which prints the type name.  So,
just use @TypeOf(type) instead of the longer @typeInfo(@TypeOf(type)).

```

## Parents

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

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