| ... | @@ -5847,7 +5847,7 @@ fn add(a: i32, b: i32) i32 { | ... | @@ -5847,7 +5847,7 @@ fn add(a: i32, b: i32) i32 { |
| 5847 | {#header_open|@bitOffsetOf#} | 5847 | {#header_open|@bitOffsetOf#} |
| 5848 | <pre><code class="zig">@bitOffsetOf(comptime T: type, comptime field_name: [] const u8) (number literal)</code></pre> | 5848 | <pre><code class="zig">@bitOffsetOf(comptime T: type, comptime field_name: [] const u8) (number literal)</code></pre> |
| 5849 | <p> | 5849 | <p> |
| 5850 | This function returns the byte offset of a field relative to its containing struct. | 5850 | This function returns the bit offset of a field relative to its containing struct. |
| 5851 | </p> | 5851 | </p> |
| 5852 | {#header_close#} | 5852 | {#header_close#} |
| 5853 | {#header_open|@OpaqueType#} | 5853 | {#header_open|@OpaqueType#} |