[doc update] add size_t (#11482)

For those souls looking for a zig `size_t` equivalent, and not
lucky/educated enough (that was me yesterday) to know it's the same as
`uintptr_t`.

From a recent discussion on IRC.
This commit is contained in:
Motiejus Jakštys 2022-04-21 21:33:42 +03:00 committed by GitHub
parent 42ed34d1f6
commit 6d0283e6bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -672,8 +672,8 @@ pub fn main() void {
</tr>
<tr>
<th scope="row">{#syntax#}usize{#endsyntax#}</th>
<td><code class="c">uintptr_t</code></td>
<td>unsigned pointer sized integer</td>
<td><code class="c">uintptr_t</code>, <code class="c">size_t</code></td>
<td>unsigned pointer sized integer. Also see <a href="https://github.com/ziglang/zig/issues/5185">#5185</a></td>
</tr>
<tr>