diff options
| author | gingerBill <bill@gingerbill.org> | 2024-06-29 19:11:36 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2024-06-29 19:11:36 +0100 |
| commit | 5413a8b744deba571287cc830e017369c46e847b (patch) | |
| tree | ac4cfbdf14ac5368cbc0c9a1d1b581111927f595 /core/slice | |
| parent | 3f9a58808cd95946043ab38523588aec5d8c68dc (diff) | |
Even more style fixes
Diffstat (limited to 'core/slice')
| -rw-r--r-- | core/slice/slice.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/slice/slice.odin b/core/slice/slice.odin index 56cb25b4c..043e51aa5 100644 --- a/core/slice/slice.odin +++ b/core/slice/slice.odin @@ -711,7 +711,7 @@ enumerated_array :: proc(ptr: ^$T) -> []intrinsics.type_elem_type(T) @(require_results) enum_slice_to_bitset :: proc(enums: []$E, $T: typeid/bit_set[E]) -> (bits: T) where intrinsics.type_is_enum(E), intrinsics.type_bit_set_elem_type(T) == E { for v in enums { - bits |= {v} + bits += {v} } return } |