Open l-grebe opened 12 months ago
i see the code is:
if j > k || j < 0 || k >= s.Len() { empty := s.Empty() empty.Err = fmt.Errorf("slice index out of bounds") return empty }
but maybe the following is right:
if j > k || j < 0 || k > s.Len() { empty := s.Empty() empty.Err = fmt.Errorf("slice index out of bounds") return empty }
i see the code is:
but maybe the following is right: