Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

internal/rule: simplify x[:] to x #503

Merged
merged 2 commits into from
Oct 3, 2018
Merged

internal/rule: simplify x[:] to x #503

merged 2 commits into from
Oct 3, 2018

Conversation

quasilyte
Copy link
Contributor

When slice is sliced, x[:] is identical to just x.

quasilyte and others added 2 commits October 1, 2018 12:50
When slice is sliced, `x[:]` is identical to just `x`.

Signed-off-by: Iskander Sharipov <quasilyte@gmail.com>
@ajnavarro ajnavarro merged commit e7bdc6e into src-d:master Oct 3, 2018
@quasilyte quasilyte deleted the quasilyte/unslice branch October 3, 2018 10:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants