From f2186e5fa753ef84003fcc21cd60692e009a8941 Mon Sep 17 00:00:00 2001 From: Raul Leal Date: Fri, 7 Sep 2018 22:58:31 +0100 Subject: [PATCH] Update langref.html.in --- doc/langref.html.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/langref.html.in b/doc/langref.html.in index 45ece705a..bb3e3111e 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -5847,7 +5847,7 @@ fn add(a: i32, b: i32) i32 { {#header_open|@bitOffsetOf#}
@bitOffsetOf(comptime T: type, comptime field_name: [] const u8) (number literal)

- 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.

{#header_close#} {#header_open|@OpaqueType#}