2 Checks for redundant slicing expressions which use the full range, and
3 do not change the type.
6 It unnecessarily adds complexity to the expression.
9 If the type being sliced has an implementation of `Index<RangeFull>`
10 that actually changes anything then it can't be removed. However, this would be surprising
11 to people reading the code and should have a note with it.
15 fn get_slice(x: &[u32]) -> &[u32] {
21 fn get_slice(x: &[u32]) -> &[u32] {