authorgravatar for nathan@nmichaels.orgNathan Michaels <nathan@nmichaels.org> 2020-09-15 22:47:27-04:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-09-15 22:49:53-04:00
log7801a6d17f59091b62ae130dcd14cdd5cd2f180e
treef82c07e8f4d385885e7e94603a4a1e4814944ec9
parent7ccfb08a9389e4742e9a3237ce354c0492f7c040

Fix a typo.


1 files changed, 1 insertions(+), 1 deletions(-)

doc/langref.html.in+1-1
...@@ -9728,7 +9728,7 @@ const c = @cImport({...@@ -9728,7 +9728,7 @@ const c = @cImport({
9728 <li>Does not support Zig-only pointer attributes such as alignment. Use normal {#link|Pointers#}9728 <li>Does not support Zig-only pointer attributes such as alignment. Use normal {#link|Pointers#}
9729 please!</li>9729 please!</li>
9730 </ul>9730 </ul>
9731 <p>When a C pointer is pointing to a single struct (not an array), deference the C pointer to9731 <p>When a C pointer is pointing to a single struct (not an array), dereference the C pointer to
9732 access to the struct's fields or member data. That syntax looks like9732 access to the struct's fields or member data. That syntax looks like
9733 this: </p>9733 this: </p>
9734 <p>{#syntax#}ptr_to_struct.*.struct_member{#endsyntax#}</p>9734 <p>{#syntax#}ptr_to_struct.*.struct_member{#endsyntax#}</p>