ref: omit capture instead of dropping
Zig Project Action / Lint, Spell-check and test zig project (push) Failing after 49s

This commit is contained in:
2026-01-12 23:28:30 +01:00
parent 88c7eea356
commit 19d1602d3b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -126,7 +126,7 @@ pub fn isTaggedUnion(comptime T: type) bool {
/// Determine whether the provided type `T` is a `struct`.
pub fn isStruct(comptime T: type) bool {
return switch (@typeInfo(T)) {
.@"struct" => |_| true,
.@"struct" => true,
else => false,
};
}