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

document that chunkSize must be positive #3858

Merged
merged 1 commit into from Dec 7, 2015
Merged

Conversation

aG0aep6G
Copy link
Contributor

@aG0aep6G aG0aep6G commented Dec 7, 2015

There's an assert(chunkSize != 0) in the constructor which needs to be
documented.

https://issues.dlang.org/show_bug.cgi?id=10087

@burner
Copy link
Member

burner commented Dec 7, 2015

there are some people that say 0 is positive, so I would like to see a change to "greater than zero". On the other hand, the doc for chunk is not that great overall, maybe you could revamp the complete doc.

There's an assert(chunkSize != 0) in the constructor which needs to be
documented.
@aG0aep6G
Copy link
Contributor Author

aG0aep6G commented Dec 7, 2015

I would like to see a change to "greater than zero".

done

maybe you could revamp the complete doc.

not right now

@burner
Copy link
Member

burner commented Dec 7, 2015

Auto-merge toggled on

burner added a commit that referenced this pull request Dec 7, 2015
document that chunkSize must be positive
@burner burner merged commit c723d17 into dlang:master Dec 7, 2015
@aG0aep6G aG0aep6G deleted the 10087 branch January 17, 2016 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants