zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit f2186e5fa753ef84003fcc21cd60692e009a8941 (tree)
parent 09a1162af57858a9579ef112b75472f82581e1d3
Author: Raul Leal <raulgrell@gmail.com>
Date:   Fri,  7 Sep 2018 22:58:31 +0100

Update langref.html.in
Diffstat:
Mdoc/langref.html.in | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/langref.html.in b/doc/langref.html.in @@ -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#}