aboutsummaryrefslogtreecommitdiff
path: root/src/type.zig
diff options
context:
space:
mode:
authorVeikka Tuominen <git@vexu.eu>2022-12-18 19:33:15 +0200
committerGitHub <noreply@github.com>2022-12-18 19:33:15 +0200
commit40ed6ae8469fd599f0524d294f38365c3bb8a825 (patch)
tree6e37bbb58fef1ca3aae06e65e179dfa017cb7929 /src/type.zig
parente9e804edc899d8392c9f93a19b92be603c26df79 (diff)
parent2a5e1426aa9469fadb78e837d0100d689213b034 (diff)
downloadzig-40ed6ae8469fd599f0524d294f38365c3bb8a825.tar.gz
zig-40ed6ae8469fd599f0524d294f38365c3bb8a825.zip
Merge pull request #13930 from r00ster91/renamings
std.builtin: renamings
Diffstat (limited to 'src/type.zig')
-rw-r--r--src/type.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/type.zig b/src/type.zig
index 64702509dc..41e287829b 100644
--- a/src/type.zig
+++ b/src/type.zig
@@ -6216,7 +6216,7 @@ pub const Type = extern union {
}
pub fn Data(comptime t: Tag) type {
- return std.meta.fieldInfo(t.Type(), .data).field_type;
+ return std.meta.fieldInfo(t.Type(), .data).type;
}
};