diff options
| author | Ganesan Rajagopal <rganesan@gmail.com> | 2022-11-06 11:26:27 +0530 |
|---|---|---|
| committer | Veikka Tuominen <git@vexu.eu> | 2022-11-07 15:07:21 +0200 |
| commit | 88d2e4f66a988dabca45c9add992c9f029c2176f (patch) | |
| tree | d9a130b2e23337bb5be587128e4fb687975ac8af /src/codegen/llvm.zig | |
| parent | dc128f403b69324dc8c6457836560a3f0654cff8 (diff) | |
| download | zig-88d2e4f66a988dabca45c9add992c9f029c2176f.tar.gz zig-88d2e4f66a988dabca45c9add992c9f029c2176f.zip | |
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)).
Diffstat (limited to 'src/codegen/llvm.zig')
0 files changed, 0 insertions, 0 deletions
