From 7fbee880617a74c234d462683b1b4865885ab454 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20=28counter=29?= <49562770+awwdev@users.noreply.github.com> Date: Fri, 9 Dec 2022 19:20:03 +0100 Subject: [PATCH] Fix typo err: runtime.Allocator to Allocator_Error --- core/slice/map.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/slice/map.odin b/core/slice/map.odin index 22f0db9b9..50d6dbd37 100644 --- a/core/slice/map.odin +++ b/core/slice/map.odin @@ -37,7 +37,7 @@ Map_Entry_Info :: struct($Key, $Value: typeid) { } -map_entries :: proc(m: $M/map[$K]$V, allocator := context.allocator) -> (entries: []Map_Entry(K, V), err: runtime.Allocator) { +map_entries :: proc(m: $M/map[$K]$V, allocator := context.allocator) -> (entries: []Map_Entry(K, V), err: runtime.Allocator_Error) { entries = make(type_of(entries), len(m), allocator) or_return i := 0 for key, value in m {