zig

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

commit 7801a6d17f59091b62ae130dcd14cdd5cd2f180e (tree)
parent 7ccfb08a9389e4742e9a3237ce354c0492f7c040
Author: Nathan Michaels <nathan@nmichaels.org>
Date:   Tue, 15 Sep 2020 22:47:27 -0400

Fix a typo.

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