diff options
| author | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2026-02-12 17:58:10 +0100 |
|---|---|---|
| committer | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2026-02-12 17:58:10 +0100 |
| commit | 8cb22d9685c6fb59784514b36e91991ca759b847 (patch) | |
| tree | 6691653f77e7d2e5e86aec0ce30086eb1b460b0c | |
| parent | 51183268b7518c3875079813fc8c5cc234f440bf (diff) | |
Remove `core:mem` import from `core:container/bit_array`.
| -rw-r--r-- | core/container/bit_array/bit_array.odin | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/container/bit_array/bit_array.odin b/core/container/bit_array/bit_array.odin index 85b941d12..7d74d9ba7 100644 --- a/core/container/bit_array/bit_array.odin +++ b/core/container/bit_array/bit_array.odin @@ -2,7 +2,6 @@ package container_dynamic_bit_array import "base:builtin" import "base:intrinsics" -import "core:mem" /* Note that these constants are dependent on the backing being a u64. @@ -329,7 +328,7 @@ Inputs: */ clear :: proc(ba: ^Bit_Array) { if ba == nil { return } - mem.zero_slice(ba.bits[:]) + intrinsics.mem_zero(raw_data(ba.bits), builtin.len(ba.bits) * NUM_BITS / 8) } /* Gets the length of set and unset valid bits in the Bit_Array. |