From 5df053f765aa57e1258283d3e1190ca127043201 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Troszczy=C5=84ski?= <99050446+dan-lei@users.noreply.github.com> Date: Thu, 30 Oct 2025 21:04:28 +0100 Subject: [PATCH] Typo in description of mem.ptr_sub. --- core/mem/mem.odin | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/mem/mem.odin b/core/mem/mem.odin index 96ec1990a..8ce48d489 100644 --- a/core/mem/mem.odin +++ b/core/mem/mem.odin @@ -332,7 +332,7 @@ and returns an integer count of the `T` between them. - `b`: A pointer to a type T **Returns** -- `b` - `a` in items of T as an `int`. +- `a` - `b` in items of T as an `int`. Example: @@ -704,4 +704,4 @@ calc_padding_with_header :: proc "contextless" (ptr: uintptr, align: uintptr, he } } return int(padding) -} \ No newline at end of file +}