How to rotate a slice of cells(&[Cell<T>])

For &mut [T], there rotate_left or rotate_right method. But, how to do the same for &[Cell<T>]?

You will need to do it yourself. The standard library doesn't provide a utility.

1 Like

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.