We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a74d24 commit a6249c6Copy full SHA for a6249c6
core/slice/slice.odin
@@ -447,7 +447,7 @@ rotate_right :: proc "contextless" (array: $T/[]$E, k: int) {
447
rotate_left(array, -k)
448
}
449
450
-swap_with_slice :: proc "contextless" (a, b: $T/[]$E, loc := #caller_location) {
+swap_with_slice :: proc(a, b: $T/[]$E, loc := #caller_location) {
451
assert(len(a) == len(b), "miss matching slice lengths", loc)
452
453
ptr_swap_non_overlapping(raw_data(a), raw_data(b), len(a)*size_of(E))
0 commit comments