aboutsummaryrefslogtreecommitdiff
path: root/lib/std/meta.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-03-13 22:21:16 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-03-14 00:11:46 -0700
commitd42d31f72f38165f70c2850e9cc63da44b3b470c (patch)
tree9ba0f7964691a492585cf7dcbe53f1879895d2e6 /lib/std/meta.zig
parenteeaaefb925a659f7bab1beea35b7c1b5f567d027 (diff)
downloadzig-d42d31f72f38165f70c2850e9cc63da44b3b470c.tar.gz
zig-d42d31f72f38165f70c2850e9cc63da44b3b470c.zip
basic language features do not belong in std.meta
Diffstat (limited to 'lib/std/meta.zig')
-rw-r--r--lib/std/meta.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/std/meta.zig b/lib/std/meta.zig
index 3f3144f0d1..7be06e0fd1 100644
--- a/lib/std/meta.zig
+++ b/lib/std/meta.zig
@@ -930,6 +930,7 @@ test "std.meta.Float" {
try testing.expectEqual(f128, Float(128));
}
+/// Deprecated. Use `@Vector`.
pub fn Vector(comptime len: u32, comptime child: type) type {
return @Type(.{
.Vector = .{