authorgravatar for motiejus@jakstys.ltMotiejus Jakštys <motiejus@jakstys.lt> 2022-04-21 21:33:42+03:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2022-04-21 14:33:42-04:00
log6d0283e6bc0493ca40fc752433973d50210023d2
tree98f5157bceb59d1c8c639befc8e7f1fd2447f6db
parent42ed34d1f6a1f6487981749eb6c31deba198aa67
signaturebadge-question-mark Signed by PGP key 4AEE18F83AFDEB23

[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.

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

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