diff options
| author | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2022-01-07 06:47:54 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-07 06:47:54 +0100 |
| commit | b02f2953ac721e2605d0795b751d30ea667bcc4e (patch) | |
| tree | 6e503c36d8bb548d97f7303a188e30c9ba581fbf /core | |
| parent | 1d1d684cbcae0a5187b47cff1bc6623f288124d3 (diff) | |
| parent | 566a7508990632726a181b12459538b9898bc72e (diff) | |
Merge pull request #1410 from Kelimion/sort_map
Fix unused imports.
Diffstat (limited to 'core')
| -rw-r--r-- | core/sort/map.odin | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/sort/map.odin b/core/sort/map.odin index dff2dced3..32f5e09a2 100644 --- a/core/sort/map.odin +++ b/core/sort/map.odin @@ -4,6 +4,9 @@ import "core:intrinsics" import "core:runtime" import "core:slice" +_ :: runtime +_ :: slice + map_entries_by_key :: proc(m: ^$M/map[$K]$V, loc := #caller_location) where intrinsics.type_is_ordered(K) { Entry :: struct { hash: uintptr, |