Skip to content

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

Merged
ajnavarro merged 2 commits intosrc-d:masterfrom
quasilyte:quasilyte/unslice
Oct 3, 2018
Merged

internal/rule: simplify x[:] to x#503
ajnavarro merged 2 commits intosrc-d:masterfrom
quasilyte:quasilyte/unslice

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.

3 participants