diff options
| author | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2025-05-27 04:33:22 +0200 |
|---|---|---|
| committer | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2025-05-27 04:33:22 +0200 |
| commit | c513f035adb1d2c5f07c427129f804a55d6d405b (patch) | |
| tree | fa5aa516536741fa127fc27362782af80cfe4b70 /core/mem | |
| parent | 624c176ef3f9886e113e7eab69107af0b11a3c53 (diff) | |
Fix example
Diffstat (limited to 'core/mem')
| -rw-r--r-- | core/mem/mem.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/mem/mem.odin b/core/mem/mem.odin index 2b4d39341..bddce02ba 100644 --- a/core/mem/mem.odin +++ b/core/mem/mem.odin @@ -341,7 +341,7 @@ Example: ptr_sub_example :: proc() { arr: [2]int - print(mem.ptr_sub(&arr[1], &arr[0])) + fmt.println(mem.ptr_sub(&arr[1], &arr[0])) } Output: |