Comment

Comment by thrwyexecbrain

"Dot" in zig is a placeholder for types that can be unambigously inferred from the surrounding expression.

So ".unknown" is a standin for "SomeEnum.unknown" or "SomeStruct.unknown", depending on what .format is.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton