From 6d0283e6bc0493ca40fc752433973d50210023d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Thu, 21 Apr 2022 21:33:42 +0300 Subject: [PATCH] [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. --- doc/langref.html.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/langref.html.in b/doc/langref.html.in index 6ae2e456e4..5cccced446 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -672,8 +672,8 @@ pub fn main() void { {#syntax#}usize{#endsyntax#} - uintptr_t - unsigned pointer sized integer + uintptr_t, size_t + unsigned pointer sized integer. Also see #5185