diff --git a/doc/langref.html.in b/doc/langref.html.in index ac8671ebb7a0..d651d1d097df 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -2289,7 +2289,7 @@ or {#code|test_aligned_struct_fields.zig#}

- Equating packed structs results in a comparison of the backing integer, + Equating packed structs results in a comparison of the backing integer, and only works for the `==` and `!=` operators.

{#code|test_packed_struct_equality.zig#} @@ -5010,6 +5010,10 @@ fn cmpxchgWeakButNotAtomic(comptime T: type, ptr: *T, expected_value: T, new_val This is usually src/main.zig but depends on what file is built. +

+ {#syntax#}@import{#endsyntax#} can also import ZON at compile time. + Example: {#syntax#}const foo = @import("foo.zon");{#endsyntax#} +

{#see_also|Compile Variables|@embedFile#} {#header_close#}