aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRaul Leal <raulgrell@gmail.com>2018-09-07 22:58:31 +0100
committerGitHub <noreply@github.com>2018-09-07 22:58:31 +0100
commitf2186e5fa753ef84003fcc21cd60692e009a8941 (patch)
treed81b59578fd4d6bfe3bca5fe6cd5501fe28e7013 /doc
parent09a1162af57858a9579ef112b75472f82581e1d3 (diff)
downloadzig-f2186e5fa753ef84003fcc21cd60692e009a8941.tar.gz
zig-f2186e5fa753ef84003fcc21cd60692e009a8941.zip
Update langref.html.in
Diffstat (limited to 'doc')
-rw-r--r--doc/langref.html.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/langref.html.in b/doc/langref.html.in
index 45ece705ac..bb3e3111e1 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#}
<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#}