aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2020-09-21 21:16:46 -0700
committerAndrew Kelley <andrew@ziglang.org>2020-09-21 21:16:46 -0700
commit0c70bb4fce8b0460f86ed218f54ba31b291f2bfb (patch)
tree1e0ad8f9ea76b30e52753a2f25f5f1d18d25896d /doc
parentafac5d28951cfd913851094649e8b9f2136694ca (diff)
parent58ee5f4e61cd9b7a9ba65798e2214efa3753a733 (diff)
downloadzig-0c70bb4fce8b0460f86ed218f54ba31b291f2bfb.tar.gz
zig-0c70bb4fce8b0460f86ed218f54ba31b291f2bfb.zip
Merge remote-tracking branch 'origin/master' into stage2-zig-cc
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 038aadd45f..740984619b 100644
--- a/doc/langref.html.in
+++ b/doc/langref.html.in
@@ -9728,7 +9728,7 @@ const c = @cImport({
<li>Does not support Zig-only pointer attributes such as alignment. Use normal {#link|Pointers#}
please!</li>
</ul>
- <p>When a C pointer is pointing to a single struct (not an array), deference the C pointer to
+ <p>When a C pointer is pointing to a single struct (not an array), dereference the C pointer to
access to the struct's fields or member data. That syntax looks like
this: </p>
<p>{#syntax#}ptr_to_struct.*.struct_member{#endsyntax#}</p>