suggest slice::swap
for mem::swap(&mut x[0], &mut x[1])
borrowck error#111403
Merged
bors merged 1 commit intorust-lang:master from y21:suggest-slice-swapJun 30, 2023
+5-3
Commits
Commits on Jun 29, 2023
- committed