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

Don’t use nil check for slices #211

Merged
merged 1 commit into from Nov 12, 2018
Merged

Don’t use nil check for slices #211

merged 1 commit into from Nov 12, 2018

Conversation

@mgrachev
Copy link
Contributor

@mgrachev mgrachev commented Nov 12, 2018

Because len() for nil slices defined as zero.

Because `len()` for `nil` slices defined as zero
@asim asim merged commit a3e69ca into micro:master Nov 12, 2018
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@mgrachev mgrachev deleted the mgrachev:dont-use-nil-check-for-slices branch Nov 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants