diff options
| author | Nathan Michaels <nathan@nmichaels.org> | 2020-09-15 22:47:27 -0400 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-09-15 22:49:53 -0400 |
| commit | 7801a6d17f59091b62ae130dcd14cdd5cd2f180e (patch) | |
| tree | f82c07e8f4d385885e7e94603a4a1e4814944ec9 | |
| parent | 7ccfb08a9389e4742e9a3237ce354c0492f7c040 (diff) | |
| download | zig-7801a6d17f59091b62ae130dcd14cdd5cd2f180e.tar.gz zig-7801a6d17f59091b62ae130dcd14cdd5cd2f180e.zip | |
Fix a typo.
| -rw-r--r-- | doc/langref.html.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/langref.html.in b/doc/langref.html.in index 10bc81e6df..dce23a43e4 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> |
