aboutsummaryrefslogtreecommitdiff
path: root/lib/std/meta.zig
diff options
context:
space:
mode:
authormatt ettler <mattettler@protonmail.com>2024-07-28 18:43:04 -0600
committerAndrew Kelley <andrew@ziglang.org>2024-07-28 21:34:14 -0700
commited7f11ffa75877896a2723505589499866864e50 (patch)
treef41bf3bb3a5e26f054ecb477abb21d63a929089e /lib/std/meta.zig
parent00d6ea4764a6b22ad84be49cb3287de387c38be4 (diff)
downloadzig-ed7f11ffa75877896a2723505589499866864e50.tar.gz
zig-ed7f11ffa75877896a2723505589499866864e50.zip
chore: correct non-standard comments.
Comments throughout the codebase start with a space. This commit corrects comments that do not adhere to this norm.
Diffstat (limited to 'lib/std/meta.zig')
-rw-r--r--lib/std/meta.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/meta.zig b/lib/std/meta.zig
index 81e60a083b..a06674f086 100644
--- a/lib/std/meta.zig
+++ b/lib/std/meta.zig
@@ -681,7 +681,7 @@ test Tag {
try testing.expect(Tag(U) == E);
}
-///Returns the active tag of a tagged union
+/// Returns the active tag of a tagged union
pub fn activeTag(u: anytype) Tag(@TypeOf(u)) {
const T = @TypeOf(u);
return @as(Tag(T), u);