Skip to content

Commit a6249c6

Browse files
committed
Remove contextless from swap_with_slice
1 parent 3a74d24 commit a6249c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/slice/slice.odin

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ rotate_right :: proc "contextless" (array: $T/[]$E, k: int) {
447447
rotate_left(array, -k)
448448
}
449449

450-
swap_with_slice :: proc "contextless" (a, b: $T/[]$E, loc := #caller_location) {
450+
swap_with_slice :: proc(a, b: $T/[]$E, loc := #caller_location) {
451451
assert(len(a) == len(b), "miss matching slice lengths", loc)
452452

453453
ptr_swap_non_overlapping(raw_data(a), raw_data(b), len(a)*size_of(E))

0 commit comments

Comments
 (0)