mirror of
https://github.com/ziglang/zig.git
synced 2026-01-26 01:05:22 +00:00
Update langref.html.in
This commit is contained in:
parent
09a1162af5
commit
f2186e5fa7
@ -5847,7 +5847,7 @@ fn add(a: i32, b: i32) i32 {
|
||||
{#header_open|@bitOffsetOf#}
|
||||
<pre><code class="zig">@bitOffsetOf(comptime T: type, comptime field_name: [] const u8) (number literal)</code></pre>
|
||||
<p>
|
||||
This function returns the byte offset of a field relative to its containing struct.
|
||||
This function returns the bit offset of a field relative to its containing struct.
|
||||
</p>
|
||||
{#header_close#}
|
||||
{#header_open|@OpaqueType#}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user