4 ms·
I think it becomes clearer when considering that these are all equivalent: const a_struct: StructType = StructType{ .foo = "baz" }; const a_struct = S
by flohofwoe 2y ago
I think it becomes clearer when considering that these are all equivalent:
const a_struct: StructType = StructType{ .foo = "baz" };
const a_struct = StructType{ .foo = "baz" };
const a_struct: StructType = .{ .foo = "baz" };